gozer 2004/11/01 16:17:00 Modified: src/docs/2.0/api/Apache PerlSections.pod Log: Clarify the documentation on Apache::PerlSections->dump() about having to place it in it's own <Perl> block Revision Changes Path 1.21 +9 -1 modperl-docs/src/docs/2.0/api/Apache/PerlSections.pod Index: PerlSections.pod =================================================================== RCS file: /home/cvs/modperl-docs/src/docs/2.0/api/Apache/PerlSections.pod,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- PerlSections.pod 1 Nov 2004 18:04:18 -0000 1.20 +++ PerlSections.pod 2 Nov 2004 00:17:00 -0000 1.21 @@ -165,6 +165,8 @@ <Perl> + $Apache::PerlSections::Save = 1; + $Port = 8529; $Location{"/perl"} = { @@ -187,9 +189,10 @@ }, }, }; + </Perl> + <Perl> print Apache::PerlSections->dump; - </Perl> This will print something like this: @@ -222,6 +225,11 @@ 1; __END__ + + +It is important to put the call to C<dump> in it's own C<E<lt>Perl E<gt>> +section, otherwise the content of the current C<E<lt>Perl E<gt>> section +will not be dumped.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]