On Mon Dec 12 15:00:57 2016, DAVECROSS wrote:
Show quoted text> On Mon Dec 12 14:03:25 2016, CHORNY wrote:
> > 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
> > (that will help new installations). And upload new distribution with
> > correct version (that will help users that have older version
> > installed).
>
>
> I'm not sure I understand the problem. I had v12.2 on CPAN (that's the
> equivalent of v12.2.0) and now I've uploaded v12.2.1 and v12.2.2.
Previous version was without 'v' and it is important, because 12.2 is equivalent of v12.200.0
Show quoted text>
> So the version numbers aren't decreasing - they're increasing.
>
> If I'm misunderstanding something, then please explain further
perl -Mversion -E"say version->parse('2.12')->normal"
v2.120.0
perl -Mversion -E"say version->parse('2.12.2')->normal"
v2.12.2
perl -Mversion -E"say version->parse('2.12.2') <=> version->parse('2.12')"
-1
--
Alexandr Ciornii,
http://chorny.net