perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r164069 - /perl/modperl/trunk/lib/mod_perl2.pm
Date Thu, 21 Apr 2005 14:46:40 GMT
Author: geoff
Date: Thu Apr 21 07:46:39 2005
New Revision: 164069

URL: http://svn.apache.org/viewcvs?rev=164069&view=rev
Log:
add some notes why we $INC{"mod_perl.pm"}

Modified:
    perl/modperl/trunk/lib/mod_perl2.pm

Modified: perl/modperl/trunk/lib/mod_perl2.pm
URL: http://svn.apache.org/viewcvs/perl/modperl/trunk/lib/mod_perl2.pm?rev=164069&r1=164068&r2=164069&view=diff
==============================================================================
--- perl/modperl/trunk/lib/mod_perl2.pm (original)
+++ perl/modperl/trunk/lib/mod_perl2.pm Thu Apr 21 07:46:39 2005
@@ -40,6 +40,12 @@
     our $API_VERSION = 2;
 }
 
+# this stuff is here to assist back compat
+# basically, if you
+#  PerlModule mod_perl2
+# or take similar steps to load mod_perl2 at
+# startup you are protected against loading mod_perl.pm
+# (either 1.0 or 1.99) at a later time by accident.
 $mod_perl::VERSION = $mod_perl2::VERSION;
 $INC{"mod_perl.pm"} = __FILE__;
 



Mime
View raw message