stas 2002/12/03 19:24:39
Modified: perl-framework/Apache-Test/lib/Apache TestConfigPerl.pm
Log:
need to load mod_perl.pm, before $mod_perl::VERSION can be used (needed
for 1.0)
Submitted by: Geoffrey Young <[EMAIL PROTECTED]>
Reviewed by: stas
Revision Changes Path
1.55 +1 -0
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm
Index: TestConfigPerl.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigPerl.pm,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- TestConfigPerl.pm 3 Dec 2002 15:28:52 -0000 1.54
+++ TestConfigPerl.pm 4 Dec 2002 03:24:39 -0000 1.55
@@ -285,6 +285,7 @@
# since server wasn't started yet, the modules in blib under
# Apache2 can't be seen. So we must load Apache2.pm, without which
# run_apache_test_config might fail to require modules
+ require mod_perl;
if ($mod_perl::VERSION > 1.99) {
require Apache2;
}