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 2002/08/16 07:57:14 UTC
cvs commit: modperl-docs/src/docs/1.0/guide config.pod porting.pod
stas 2002/08/15 22:57:14
Modified: src/docs/1.0/guide config.pod porting.pod
Log:
add an xref to <perl> section trick regarding accessing env vars during
the startup
Revision Changes Path
1.14 +13 -0 modperl-docs/src/docs/1.0/guide/config.pod
Index: config.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/config.pod,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- config.pod 31 Jul 2002 14:44:19 -0000 1.13
+++ config.pod 16 Aug 2002 05:57:14 -0000 1.14
@@ -1816,6 +1816,19 @@
some useful diagnostics when mod_perl is processing C<E<lt>PerlE<gt>>
sections.
+=head2 Perl Section Tricks
+
+=over
+
+=item *
+
+The Perl C<%ENV> is cleared during startup, but the C environment is
+left intact and so you L<can use
+it|guide::porting/Passing_ENV_variables_to_CGI> to set C<@PassEnv>.
+
+=back
+
+
=head2 References
For more info see
1.14 +1 -1 modperl-docs/src/docs/1.0/guide/porting.pod
Index: porting.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/1.0/guide/porting.pod,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- porting.pod 31 Jul 2002 14:44:19 -0000 1.13
+++ porting.pod 16 Aug 2002 05:57:14 -0000 1.14
@@ -2891,7 +2891,7 @@
cleared after the request is served.
The Perl C<%ENV> is cleared during startup, but the C environment is
-left in tact. With a combo of forking C<`env`> and C<E<lt>PerlE<gt>>
+left intact. With a combo of forking C<`env`> and C<E<lt>PerlE<gt>>
sections you can do even do wildcards matching. For example, this
passes all environment variables that begin with the letter H:
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org