On Tue, 7 Feb 2006 06:58:24 +0100
Daniel McBrearty <[EMAIL PROTECTED]> wrote:

> If I have a library which is used for both mod_perl and standard cgi
> processes, and I want to know at runtime which, how can I do that?

  The environment variable $ENV{MOD_PERL} should be set if it is
  running under mod_perl. 

 ---------------------------------
   Frank Wiles <[EMAIL PROTECTED]>
   http://www.wiles.org
 ---------------------------------

Reply via email to