Randy Kobes wrote: > 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'.
You have to register each module you upload to CPAN. When you do so, you get the description listed on various updates lists and the module gets listed on CPAN modules list. If you look at Doug's list of registered modules, http://search.cpan.org/author/DOUGM/ mod_perl is not there. > 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. sounds good to me, so I suggest the following patch: Index: lib/mod_perl.pm =================================================================== RCS file: /home/cvs/modperl-2.0/lib/mod_perl.pm,v retrieving revision 1.6 diff -u -r1.6 mod_perl.pm --- lib/mod_perl.pm 20 Aug 2002 16:49:12 -0000 1.6 +++ lib/mod_perl.pm 22 Aug 2002 06:46:44 -0000 @@ -9,3 +9,9 @@ 1; __END__ + +=head1 NAME + +mod_perl - Embed a Perl Interpreter in the Apache 2.0 server + +=cut I think it won't pick 'mod_perl 2.0 - ....' __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
