some corrections to my last post

Stas Bekman wrote:
Here it's the opposite, %ENV affects $r->subprocess_env, but not the other way around.

    $ENV{FOO} = 2;
    ok $ENV{FOO} == 2;
    ok $r->subprocess_env->get('FOO') == 2;

so, I suppose it's only with perl-script or +SetupEnv (or some combination
of them).


It's unrelated to the configuration, since it just calls modperl_table_get_set.

The right answer is 'only with perl-script' ;)


BTW, It happens only during the response phase, only for 'perl-script', and not for 'modperl' (see modperl_env_request_tie / modperl_env_request_untie in mod_perl.c).

And it's undocumented at the moment. I think it belongs here: http://perl.apache.org/docs/2.0/user/config/config.html#C_perl_script_

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to