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
do comparisons.
(see http://www.dagolden.com/index.php/369/version-numbers-should-be-boring/)
-- David
On Fri, Jul 27, 2012 at 3: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 with $VERSION numbers in Perl is hard enough as it is. This
> doesn't help.
>
> -Jeff