stas 02/05/19 21:49:53
Modified: src/docs/1.0/guide config.pod
Log:
add the missing 1; at the end of the startup.pl file
Submitted by: per einar
Revision Changes Path
1.11 +9 -1 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.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- config.pod 12 May 2002 10:38:45 -0000 1.10
+++ config.pod 20 May 2002 04:49:53 -0000 1.11
@@ -1290,6 +1290,8 @@
AutoCommit => 1, # commit executes immediately
}
);
+
+ 1;
Now we'll review the code explaining why each line is used.
@@ -1373,12 +1375,18 @@
don't import symbols from them as they will be lost when they go out
of the file's scope.
-Note that starting with C<$CGI::VERSION> 2.46, the recommended method
+Note that starting with C<CGI.pm> version 2.46, the recommended method
to precompile the code in C<CGI.pm> is:
use CGI qw(-compile :all);
But the old method is still available for backward compatibility.
+
+ 1;
+
+As I<startup.pl> is run through Perl's C<require()>, it has to return
+a true value so that Perl can make sure it has been successfully
+loaded. Don't forget this (it's very easy to forget it).
See also the 'L<Apache::Status -- Embedded interpreter status
information|guide::debug/Apache__Status____Embedded_Interpreter_Status_Information>'
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]