phi95aly has asked for the wisdom of the Perl Monks concerning the following question:
I've just set up Apache::PerlRun and don't see any improvements in the script that it's suppose to be running. I had some problems with the httpd.conf loading the module, so i'm thinking maybe its' not running. How can i verify if a particular script actually runs under Apache::PerlRun or not??
Comment on Apache::PerlRun - How can i verify it's running?
I believe you can check if $ENV{GATEWAY_INTERFACE}isn't"CGI/1.1" (which means that it's being run through mod_cgi instead). You should also be able to call Apache->request and get a reference to an Apache instance.