>>>>> On Mon, 08 Sep 2008 01:06:49 +0800, imacat <[EMAIL PROTECTED]> said:
> I see. But $ModPerl::MethodLookup::VERSION is 2.000004, which is
> still not the same as 0.009 in 02packages.details.txt.gz.
> [EMAIL PROTECTED] ~ % grep '$ModPerl::MethodLookup::VERSION'
> lib/ModPerl/DummyVersions.pm
> $ModPerl::MethodLookup::VERSION = 2.000004;
> [EMAIL PROTECTED] ~ % gunzip -c 02packages.details.txt.gz | grep
> ModPerl::MethodLookup
> ModPerl::MethodLookup 0.009 G/GO/GOZER/mod_perl-2.0.4.tar.gz
> [EMAIL PROTECTED] ~ %
> What happened? Why is CPAN indexed 0.009 as the version number of
> ModPerl::MethodLookup?
In this chapter:
http://www.cpan.org/modules/04pause.html#conventions
it is explained that the PAUSE indexer uses such a piece of code:
% perl -MExtUtils::MakeMaker -le 'print MM->parse_version(shift)'
lib/ModPerl/DummyVersions.pm
0.009
I think that the only way out for complex distribution architectures
like this one is that the architects write their own META.yml and take
the duty from the indexer.
--
andreas