On Thu, 15 Jul 2004, Stas Bekman wrote:

> Geoffrey Young wrote:
> >
> > Stas Bekman wrote:
> >
> >>So I suppose we should go with:
> >>
> >>our $VERSION = do { require Apache2; require mod_perl;
> >>$mod_perl::VERSION };
> >
> >
> > sure.  I just wanted to make sure I understood what was
> > going on, just to keep me somewhat involved ;)
>
> :)
>
> But actually I'm taking that proposal back. There is no
> added value in it. requiring mod_perl => VERSION is
> perfectly fine for mp2. It's the requirement of mp1 that
> consitutes a problem. And given the fact how often mp1 is
> being released and upgraded to, this whole issue is moot.
> One is ought to go and pester those in charge of
> CPAN/PAUSE to support a better versioning scheme there.

Independent of the latter, I think there's still
a reason to use Apache2, rather than mod_perl,
in a Makefile.PL PREREQ_PM. If someone installs
mp2 with MP_INST_APACHE2=1, then
    perl -Mmod_perl
will fail (as mod_perl.pm will be under Apache2/), whereas
    perl -MApache2
will be OK. Since at the moment CPAN.pm (and I also
believe, CPANPLUS) don't use Apache2.pm to adjust @INC,
they won't see a mp2 install with a PREREQ_PM of mod_perl.

-- 
best regards,
randy

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

Reply via email to