On Wed, 6 Oct 1999, randyboy wrote:
> Hi,
>
> According to the guide, one of the performance optimizations available
> to me include using PerlSetEnv Off to avoid populating %ENV. However, I'm
> currently using PerlSetEnv to set EMBPERL_OPTIONS to 16 and
> EMBPERL_ESCMODE to 0. So if I were to go for this optimization is there
> some other way to globally achieve the same results?
why don't you try? yes, it will work, e.g.:
<Location /perl>
PerlSetupEnv Off
PerlSetEnv EMBPERL hi
SetHandler perl-script
PerlHandler Apache::RegistryNG->handler
Options +ExecCGI
</Location>
a Data::Dumper of %ENV prints:
$VAR1 = {
'GATEWAY_INTERFACE' => 'CGI-Perl/1.1',
'MOD_PERL' => 'mod_perl/1.21_01-dev',
'PATH' => '...',
'EMBPERL' => 'hi'
};
-Doug