>>>>> On Thu, 3 May 2007 18:03:06 +0000, Julian Mehnle <[EMAIL PROTECTED]> said:
> Did I get it right that CPAN.pm doesn't yet use version.pm for version
> number comparisons?
Yes. It has its own CPAN::Version module.
> If that's the case then I wonder why `r` ("reinstall
> recommendations") in `cpan` on my system (CPAN.pm 1.76_02, Perl 5.8.8)
> does NOT list Mail::SPF as being out of date, even though I have the exact
> same version of Mail::SPF installed as the complainant (2.004), and my
> CPAN.pm is even older than his. Has CPAN.pm's version comparison behavior
> changed since 1.76_02?
It has changed significantly between 1.7x and 1.8x. In 1.8x it started
to treat multidot version strings as such.
The test 10version.t in the CPAN.pm distro compares how version.pm,
Sort::Versions, Perl::Version, and CPAN::Version behave in comparison.
I've just added two tests for the Mail::SPF case.
--
andreas