[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl-docs-cvs
Subject:    svn commit: r111920 - /perl/modperl/docs/trunk/src/docs/2.0/api/Apache/PerlSections.pod
From:       stas () apache ! org
Date:       2004-12-15 2:51:39
Message-ID: 20041215025139.9737.qmail () minotaur ! apache ! org
[Download RAW message or body]

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/Per \
lSections.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: docs-cvs-unsubscribe@perl.apache.org
For additional commands, e-mail: docs-cvs-help@perl.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic