Apache Reference: mod_perl, PerlSetupEnv

PerlSetupEnv

Tell mod_perl Whether to Set Up %ENV by Default
Syntax: PerlSetupEnv on|off
Example: PerlSetupEnv off
Since: Apache 1.2

This directive mod_perl instructs as to whether it should set up Perl's %ENV hash by default. Normally, mod_perl establishes %ENV automatically, but this directive can disable this behavior. This option allows you to save a few CPU cycles or to ensure that the environment isn't changed for various reasons. The environments established by mod_perl and mod_cgi can be distinguished through the value contained in the CGI environment variable GATEWAY_INTERFACE. It is set set to ``CGI/1.1'' by mod_cgi and to ``CGI-Perl/1.1'' by mod_perl.