stas 2002/11/13 07:43:34
Modified: src/docs/2.0/devel/porting porting.pod
src/docs/2.0/user/config config.pod
Log:
a few minor corrections
Revision Changes Path
1.2 +9 -9 modperl-docs/src/docs/2.0/devel/porting/porting.pod
Index: porting.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/devel/porting/porting.pod,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- porting.pod 13 Aug 2002 11:46:21 -0000 1.1
+++ porting.pod 13 Nov 2002 15:43:34 -0000 1.2
@@ -65,16 +65,16 @@
to your module. You can also use the variable C<$mod_perl::VERSION>.
-In the configuration file you can use a special configuration define
-C<MODPERL2> which is enabled internally, as if the server had been
-started with C<-DMODPERL2>.
+In the configuration file you can use a special configuration "define"
+symbol C<MODPERL2> which is enabled internally, as if the server had
+been started with C<-DMODPERL2>.
- <IfDefine MODPERL2>
- # 2.0 configuration
- </IfDefine>
- <IfDefine !MODPERL2>
- # else
- </IfDefine>
+ <IfDefine MODPERL2>
+ # 2.0 configuration
+ </IfDefine>
+ <IfDefine !MODPERL2>
+ # else
+ </IfDefine>
From within Perl code this can be tested with
C<Apache::exists_config_define()>, for example:
1.26 +10 -10 modperl-docs/src/docs/2.0/user/config/config.pod
Index: config.pod
===================================================================
RCS file: /home/cvs/modperl-docs/src/docs/2.0/user/config/config.pod,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- config.pod 3 Sep 2002 05:32:59 -0000 1.25
+++ config.pod 13 Nov 2002 15:43:34 -0000 1.26
@@ -245,7 +245,7 @@
=item *
-C<STDOUT> and C<STDOUT> get tied to the request object C<$r>, which
+C<STDIN> and C<STDOUT> get tied to the request object C<$r>, which
makes possible to read from C<STDIN> and print directly to C<STDOUT>
via C<CORE::print()>, instead of implicit calls like
C<$r-E<gt>puts()>.
@@ -823,18 +823,18 @@
=head2 MODPERL2 Define Option
-When running under mod_perl 2.0 a special configuration define
-C<MODPERL2> is enabled internally, as if the server had been started
-with C<-DMODPERL2>. For example this can be used to write a
+When running under mod_perl 2.0 a special configuration "define"
+symbol C<MODPERL2> is enabled internally, as if the server had been
+started with C<-DMODPERL2>. For example this can be used to write a
configuration file which needs to do something different whether it's
running under mod_perl 1.0 or 2.0:
- <IfDefine MODPERL2>
- # 2.0 configuration
- </IfDefine>
- <IfDefine !MODPERL2>
- # else
- </IfDefine>
+ <IfDefine MODPERL2>
+ # 2.0 configuration
+ </IfDefine>
+ <IfDefine !MODPERL2>
+ # else
+ </IfDefine>
From within Perl code this can be tested with
C<Apache::exists_config_define()>, for example:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]