Stas Bekman wrote:
[...]
In which case checking $ENV{MOD_PERL_API_VERSION} should do the trick.

Just remember that mod_perl1 doesn't have this env var. So it should probably go like:

 if exists $ENV{MOD_PERL_API_VERSION} and ...


--
_____________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED]  http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book       http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/


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

Reply via email to