Subject: | Versioning: decreasing version number |
I just discovered the version number of the most recent release is lower than the previous one.
Yes, 1.5.1 is lower than 1.5 according to perl versioning rules. If a multidot number is wanted that beats 1.5, there would be something like 1.500.1 available.
Witness:
% perl -le 'use version;
my @v = qw(1.5 1.5.1 1.500.1);
print $_ for sort { version->new($a) <=> version->new($b) } @v;
'
1.5.1
1.5
1.500.1
Background on the dark corners of perl versioning to be found in my favorite posting on the topic: http://www.dagolden.com/index.php/369/version-numbers-should-be-boring/
I hope you don't mind me pointing this out, it is really helpful for everybody when all CPAN releases obey to the rule to only increase version numbers.
Thanks,