stas 2004/02/24 11:27:13
Modified: perl-framework/Apache-Test/lib/Apache TestConfig.pm
Log:
at compile time perl seems to be unhappy about undef constants, use || 0
to fix that.
Revision Changes Path
1.211 +1 -1
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm
Index: TestConfig.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfig.pm,v
retrieving revision 1.210
retrieving revision 1.211
diff -u -u -r1.210 -r1.211
--- TestConfig.pm 21 Feb 2004 20:28:47 -0000 1.210
+++ TestConfig.pm 24 Feb 2004 19:27:13 -0000 1.211
@@ -12,7 +12,7 @@
use constant DEFAULT_PORT => 8529;
use constant IS_MOD_PERL_2 =>
- eval { require mod_perl } && $mod_perl::VERSION >= 1.99;
+ eval { require mod_perl && $mod_perl::VERSION >= 1.99 } || 0;
use constant IS_MOD_PERL_2_BUILD => IS_MOD_PERL_2 &&
require Apache::Build && Apache::Build::IS_MOD_PERL_BUILD();