Re: version.pm and developer version numbers

2012-08-01 Thread Michael G Schwern
On 2012.7.27 12:48 PM, Jeffrey Thalhammer wrote: > I just discovered that version.pm always treats version numbers with an > underscore as less than the equivalent version number without the underscore. > So "6.63_02" is less than "6.6302". Is it it just me, or does that seem > crazy? > Dealing w

Re: version.pm and developer version numbers

2012-07-27 Thread David Golden
It's crazy. But it's been that way since Perl 5.10.0 in 2007. So now we're stuck with it. The C<$VERSION = eval $VERSION> idiom avoids some issues with it by losing the underscore at runtime, but that might not be enough for things that parse your distribution tarball version number and try to d

version.pm and developer version numbers

2012-07-27 Thread Jeffrey Thalhammer
I just discovered that version.pm always treats version numbers with an underscore as less than the equivalent version number without the underscore. So "6.63_02" is less than "6.6302". Is it it just me, or does that seem crazy? Dealing with $VERSION numbers in Perl is hard enough as it is. T