This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[rt.cpan.org #88495] version->new str cmp bug
authorFather Chrysostomos <sprout@cpan.org>
Wed, 11 Sep 2013 16:03:14 +0000 (09:03 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Sat, 4 Jan 2014 13:10:03 +0000 (05:10 -0800)
commit11e14f5aadedb74e66c75f3baa44e4eb93dcf1c1
tree13537580de2810bce1889abc48d391c16d7250ee
parent0c96c5119b141504870531786977196e1fe39c5f
[rt.cpan.org #88495] version->new str cmp bug

We shouldn’t consider ver and version to be the same class.

If ver inherits from version, ver->new should give a ver object.

This string comparison bug has only ever existed in the perl core
version of the version routines.  It was ed1db70e1224 in 5.16 that
introduced it.
cpan/version/t/coretests.pm
vxs.inc