You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs-cvs@perl.apache.org by st...@apache.org on 2004/11/25 20:14:15 UTC
svn commit: r106595 - /perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod
Author: stas
Date: Thu Nov 25 11:14:15 2004
New Revision: 106595
URL: http://svn.apache.org/viewcvs?view=rev&rev=106595
Log:
add an extra note stating that 'SetHandler modperl' doesn't reset %ENV
Modified:
perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod
Modified: perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod
Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod?view=diff&rev=106595&p1=perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod&r1=106594&p2=perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod&r2=106595
==============================================================================
--- perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod (original)
+++ perl/modperl/docs/trunk/src/docs/2.0/user/config/config.pod Thu Nov 25 11:14:15 2004
@@ -739,6 +739,11 @@
which always populate C<r-E<gt>subprocess_env>, but this doesn't happen
until the Apache I<fixups> phase, which could be too late for your needs.
+Notice also that this handler does not reset C<%ENV> after each
+request's response phase, so if one response handler has changed
+C<%ENV> without localizing the change, it'll affect other handlers
+running after it as well.
+
=head3 C<perl-script>
Configured as:
@@ -776,10 +781,10 @@
=item *
-Several special global Perl variables are saved before the handler is
-called and restored afterwards (similar to mod_perl 1.0). This
-includes: C<%ENV>, C<@INC>, C<$/>, C<STDOUT>'s C<$|> and C<END> blocks
-array (C<PL_endav>).
+Several special global Perl variables are saved before the response
+handler is called and restored afterwards (similar to mod_perl
+1.0). This includes: C<%ENV>, C<@INC>, C<$/>, C<STDOUT>'s C<$|> and
+C<END> blocks array (C<PL_endav>).
=item *
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org