Daniel McBrearty 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?
does ARGV[0] tell you? I'd expect it to be 'httpd' for apache/modperl.
Daniel McBrearty 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?
does ARGV[0] tell you? I'd expect it to be 'httpd' for apache/modperl.