> > The version of ModPerl::MethodLookup in GOZER/mod_perl-2.0.4.tar.gz
> > is the same as mod_perl, which is 2.000004 but unparsable. It's OK to
> > show "undef". But 0.009? Where did this number come from?
> I fear this comes from lib/ModPerl/DummyVersions.pm which I do not understand.
I see. But $ModPerl::MethodLookup::VERSION is 2.000004, which is
still not the same as 0.009 in 02packages.details.txt.gz.
imacat@rinse ~ % grep '$ModPerl::MethodLookup::VERSION'
lib/ModPerl/DummyVersions.pm
$ModPerl::MethodLookup::VERSION = 2.000004;
imacat@rinse ~ % gunzip -c 02packages.details.txt.gz | grep
ModPerl::MethodLookup
ModPerl::MethodLookup 0.009 G/GO/GOZER/mod_perl-2.0.4.tar.gz
imacat@rinse ~ %
What happened? Why is CPAN indexed 0.009 as the version number of
ModPerl::MethodLookup?
--
Best regards,
imacat ^_*' <imacat@mail.imacat.idv.tw>
PGP Key: http://www.imacat.idv.tw/me/pgpkey.asc
<<Woman's Voice>> News: http://www.wov.idv.tw/
Tavern IMACAT's: http://www.imacat.idv.tw/
TLUG List Manager: http://lists.linux.org.tw/cgi-bin/mailman/listinfo/tlug
Andreas J. Koenig - 08 Sep 2008 20:54 GMT
> I see. But $ModPerl::MethodLookup::VERSION is 2.000004, which is
> still not the same as 0.009 in 02packages.details.txt.gz.
> imacat@rinse ~ % grep '$ModPerl::MethodLookup::VERSION'
> lib/ModPerl/DummyVersions.pm
> $ModPerl::MethodLookup::VERSION = 2.000004;
> imacat@rinse ~ % gunzip -c 02packages.details.txt.gz | grep
> ModPerl::MethodLookup
> ModPerl::MethodLookup 0.009 G/GO/GOZER/mod_perl-2.0.4.tar.gz
> imacat@rinse ~ %
> 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.

Signature
andreas