Subject: | package versions of \d\.\d\.\d and \d\.\d\.\d\.d are not compared corectly when create cpan index |
How to reproduce the bug:
1. create Module Foo of version 0.0.1
2. update cpan index tree via cpansite --site=/path-to-your-local-cpan/
3. take a look at /path-to-your-local-cpan/
modules/02packages.details.txt.gz - found right index on package Foo at
version 0.0.1
4. update Foo version to 0.0.1.1
5. update cpan index tree via cpansite --site=/path-to-your-local-cpan/
6. take a look at /path-to-your-local-cpan/
modules/02packages.details.txt.gz - found right index on package Foo at
version 0.0.1.1
7. update Foo version to 0.0.2
8. update cpan index tree via cpansite --site=/path-to-your-local-cpan/
9. take a look at /path-to-your-local-cpan/
modules/02packages.details.txt.gz - found old index on package Foo at
version 0.0.1.1