Randy Kobes wrote:
On Fri, 9 Jul 2004, David Wheeler wrote:


On Jul 9, 2004, at 1:09 PM, Stas Bekman wrote:


There is no Apache.pm in mp2. You probably wanted to say:


requires => { 'mod_perl' => 0,

Right. In fact, it should probably be

    requires       => { 'mod_perl'   => '1.0',

in the MP1 example, and

    requires       => { 'mod_perl'   => '1.99',

in the MP2 example, yes?


Assuming this is for the benefit of CPAN/CPANPLUS to install
dependencies, doesn't this run into a couple of problems
that, in particular, Stas has raised:
 - CPAN doesn't yet support multiple module versions, only
the latest (which currently is mp1, as mp2 is marked as
a development version);
 - if someone had mp2 installed in an Apache2/ subdirectory,
CPAN/CPANPLUS wouldn't see it unless somehow 'use Apache2'
was invoked to adjust @INC;

What about requiring 'Apache' for mp1-related modules (since
'Apache' doesn't exist within mp2), and for mp2 modules,
requiring 'Apache2' (which doesn't exist within mp1)?

It won't work since the version number lives in the package mod_perl. and most likely you'd want to require a minimal version at some point.



-- __________________________________________________________________ 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

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html



Reply via email to