if (!$ENV{MOD_PERL}) { # mod_perl is not available }