Subject: | decreasing version of Crypt::HC128 |
02packages.details.txt:
Crypt::HC128 0.01 L/LZ/LZH/Crypt-HC128-0.0.1.tar.gz
Crypt::HC128::HC128 v0.0.2 L/LZ/LZH/Crypt-HC128-0.0.2.tar.gz
Crypt::HC128c v0.0.2 L/LZ/LZH/Crypt-HC128-0.0.2.tar.gz
Versions with 2 dots are converted to real numbers. 0.1.1 means 0.001001. So 0.1 > 0.1.1.
Versions with one dot are real numbers. So 0.9 > 0.10.
Best is to delete distributions that have bigger versions that latest or just any old versions (that will help new installations). And upload new distribution with correct version (that will help users that have older version installed) or do version reset on PAUSE.
You can check this using version->parse:
perl -Mversion -E"say version->parse('1.1')->normal"
v1.100.0
perl -Mversion -E"say version->parse('1.1.1')->normal"
v1.1.1
perl -Mversion -E"say version->parse('1.1') <=> version->parse('1.1.1')"
1
--
Alexandr Ciornii, http://chorny.net