alian sent the following bits through the ether:

> About order of v-string:
> It would be good in details results that 1.18 would be first before 1.2.

You're looking at http://testers.astray.com/show/MIME-Lite-HTML.html.
I'm actually sorting using version.pm at the moment, as it seemed to
be the most comprehensive. Sort::Versions didn't really do the right
thing for module versions. See what version.pm says:

  kanga% perl -e 'use version; print version->new("1.9")'
  1.900
  kanga% perl -e 'use version; print version->new("1.10")'
  1.100

perlmodstyle says:

  The most common CPAN version numbering scheme looks like this:
    1.00, 1.10, 1.11, 1.20, 1.30, 1.31, 1.32

00modlist.long.html says:

  To be fully compatible with the Exporter and MakeMaker modules you
  should store your module's version number in a non-my package variable
  called $VERSION. This should be a valid floating point number with at
  least two digits after the decimal (ie hundredths, e.g, $VERSION =
  "0.01"). See Exporter.pm for details.

Thus, I think that my website is correct in sorting the version
numbers. 1.2 should be later than 1.18. I think your versioning system
is wrong ;-)

http://dellah.org/testers/MIME-Lite-HTML gets the version sorting
wrong but "right". How do you sort, Iain?

http://testers.cpan.org/search?request=dist&dist=MIME-Lite-HTML
keeps on timing out, so I don't know what it does. Graham?

Now maybe I should ignore the version numbers and instead sort using
the dates that the module was uploaded to CPAN, but that's external
information, bah.

Leon
-- 
Leon Brocard.............................http://www.astray.com/
scribot.................................http://www.scribot.com/

... Blueness is a way of life

Reply via email to