Author: stas Date: Tue Dec 14 18:51:37 2004 New Revision: 111920 URL: http://svn.apache.org/viewcvs?view=rev&rev=111920 Log: new section: Verifying <Perl> Sections
Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache/PerlSections.pod Modified: perl/modperl/docs/trunk/src/docs/2.0/api/Apache/PerlSections.pod Url: http://svn.apache.org/viewcvs/perl/modperl/docs/trunk/src/docs/2.0/api/Apache/PerlSections.pod?view=diff&rev=111920&p1=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/PerlSections.pod&r1=111919&p2=perl/modperl/docs/trunk/src/docs/2.0/api/Apache/PerlSections.pod&r2=111920 ============================================================================== --- perl/modperl/docs/trunk/src/docs/2.0/api/Apache/PerlSections.pod (original) +++ perl/modperl/docs/trunk/src/docs/2.0/api/Apache/PerlSections.pod Tue Dec 14 18:51:37 2004 @@ -334,6 +334,27 @@ +=head1 Verifying C<E<lt>PerlE<gt>> Sections + +If the C<E<lt>PerlE<gt>> sections include no code requiring a running +mod_perl, it is possible to check those from the command line. But the +following trick should be used: + + # file: httpd.conf + <Perl> + #!perl + + # ... code here ... + + __END__ + </Perl> + +Now you can run: + + % perl -c httpd.conf + + + =head1 Bugs --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]