perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [mp2] taking a step back?
Date Sun, 02 Jan 2005 20:19:32 GMT
David Wheeler wrote:

> Those of us who use Apache apps would have to do something like this:
> 
>   eval "use Apache2";
>   use Apache if $@;

What does it mean? You never need to touch Apache2.pm in your mp2 
application. It's not part of the API and you should not use it.

It's only used at the config file to load the right mod_perl. It's a user 
who will do that if and only if they have 2 modperls installed. It's 
documented here:
http://perl.apache.org/docs/2.0/user/config/config.html#Accessing_the_mod_perl_2_0_Modules

I guess the doc should link back to
http://perl.apache.org/docs/2.0/user/install/install.html#MP_INST_APACHE2

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message