[mp2] local %ENV causes $ENV{MOD_PERL} etc. to disappear on later requests

2014-06-05 Thread Tim Retout
Hello! At work I have been having some trouble with localizing %ENV. (This happens in CPAN modules such as Plack::Handler::Apache2 amongst others.) All seems well during the request itself - i.e. after the "local" goes out of scope, %ENV is reset correctly. However, on subsequent requests to th

RE: A patch to fix one sort of mod_perl crash I've been experiencing [& PerlInterpScope directive]

2014-06-05 Thread Kandarian, Richard M
Now that I've found this and read it: http://perl.apache.org/docs/2.0/user/config/config.html#C_PerlInterpScope_ and now that I've strained my brain trying to figure out the crashes I've observed when interpreters are modperl_interp_unselect()ed, I'm pretty sure that PerlInterpScope doesn't wor