in reply to mod_perl handler detection

Without checking environment variables

What's wrong with checking environment variables? If mod_perl is enabled, $ENV{ MOD_PERL } will be set to "mod_perl/VERSION" (in my case "mod_perl/1.29").