I see, that Philippe has found a nice trick to load Apache::PerlSections at the server startup, w/o actually doing that explicitly. He deployed the handlers automatic autoloading. Though this trick doesn't work for other things. I want to move the pre-loading of APR::Error to the the internals of mp2, but since it may reside in the Apache2/ subdir, we can't try loading it, before a user loads Apache2.pm. Which may not happen at all. And we may need to load other modules in the future as well (e.g. things that we discussed before - load Apache::RequestRec before handing user $r).

We can't force on user loading Apache2, since he may want to adjust @INC, before Apache2.pm is loaded.

I thought that moving APR/* packages out of Apache2/ will solve that problem, removing the dependancy on Apache2.pm, but as Joe suggested it's probably not the best approach, due to versioning...

So if you have ideas how to resolve that issue, I'm all ears.

Thanks.

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



Reply via email to