On Thu, 22 Aug 2002, Stas Bekman wrote:

> Randy Kobes wrote:
> > On Thu, 22 Aug 2002, Stas Bekman wrote:
> > 
> >>Doug, if you look at:
> >>http://search.cpan.org/search?mode=dist&query=mod_perl+1.99_05
> >>or
> >>http://search.cpan.org/author/DOUGM/
> >>
> >>the entry for mod_perl is:
> >>mod_perl-1.99_05  2.0 Win32 Installation Instructions
> >>
> >>it picks it up from some pod file. If it was a registered module, the 
> >>right description would be used. Please go to PAUSE and submit the 
> >>registration request from there.
> >>
> >>Thanks.
> > 
> > 
> > I'm not intimately familiar with the internals, but this might be
> > an issue with search.cpan.org - I know that it extracts meta
> > information from uploaded distributions that isn't always in the
> > CPAN/PAUSE index files. Plus, if one registered mod_perl-1.99_05
> > (which is designated experimental now) as mod_perl, then CPAN.pm
> > will install that version, which is probably not wanted yet.
> 
> I don't think CPAN.pm has anything to do with registered modules. One 
> needs to register them to get listed in the module list and various 
> announcements like CPAN update weekly and use.perl.org daily feeds. 

I guess I may be confused with what registering a module means
... Isn't "mod_perl" already registered as a module, and
associated with the current mod_perl-1 distribution? To get the
mod_perl of the mod_perl-2 distribution listed, one could simply
upload a mod_perl-2.tar.gz (or even mod_perl-1.99.tar.gz, without
the underscore in the version to designate experimental).
However, CPAN.pm would think mod_perl-2 to be the most recent
version, and install that when asked to 'install mod_perl'.

For example, in mod_perl-1.99_xx, Apache::Build (which doesn't
appear in CPAN.pm, and so isn't registered on PAUSE) does appear
on search.cpan.org with the right description - this is
apparently because lib/Apache/Build.pm has a

=head1 NAME

Apache::Build - Methods ....

match. I bet (though not very much :) that if one added a similar
pod section to lib/mod_perl.pm that search.cpan.org would pick
that up for the next mod_perl-1.99_xx release.

-- 
best regards,
randy


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to