Re: [Module::Build] M::B and version.pm
Status: Beta
Brought to you by:
kwilliams
|
From: David E. W. <da...@ki...> - 2006-02-22 20:46:50
|
On Feb 22, 2006, at 12:40, John Peacock wrote: > Nope. is() performs an implicit stringification of each term and > then performs a string comparison (i.e. no overload magic > possible). Replace that last line with: > > cmp_ok( $nv,'==', $v); > > and it will work as you expected. No, I don't like it, but I don't > have any choice... I see. So there's no way for '0.000001' to be converted back to '0.0.1'? What about a method on version.pm that will give the three-part version string no matter what the original version number was? Best, David |