Subject: | Decreasing version number |
According the the perl version arithmetic, 0.90.6 is less than 0.90. To
beat 0.90 with multidot versions you need...version.pm is your friend:
% perl -le 'use version;printf "%12s:%3d\n", $_, version->new($_) <=>
version->new("0.90") for @ARGV;' 0.90.6 0.900.1 0.901.0 1.0.0
0.90.6: -1
0.900.1: 1
0.901.0: 1
1.0.0: 1
Please adjust. Users who have written
use POSIX::Regex 0.90
now need to rewrite their programs and downgrade. Probably not what you
intended.
Thanks,