in reply to mod_perl: is it running?
The mod_perl guide has all of the answers.
One way of doing it is to check for $ENV{MOD_PERL} - see Testing via a CGI script for more info.