On Thu, 2 Aug 2001, Stas Bekman wrote:
 
> Now how do we make sure that Apache::compat is loaded before CGI.pm?
> Should I put a special case logic into the code that does the actual
> require to load Apache::compat if CGI.pm is loaded? This won't work from
> <Perl> sections or startup.pl though.

no, Apache::compat is not just for CGI.pm
 
> Is the only solution is to document this issue? I'd strive to get it done
> automatically. What would be the performance hit to always load it no
> matter, whether you need it or not?

it's not gonna happen automatically without performance hit / bloat.
unless maybe with a Makefile.PL option that tells modperl to always load
Apache::compat, as in:
#ifdef MP_APACHE_COMPAT
       modperl_require_module("Apache::compat");
#endif

in any case, the default for compat mode will be off.



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

Reply via email to