Stas Bekman wrote:
> We would like to release Apache::Test 1.08. It includes multiple changes
> and improvements, therefore we need your help to test it and report any
> problems you may have noticed.
> 
> http://apache.org/~stas/Apache-Test-1.08-dev.tar.gz

I'm getting a strange error from 5.6.1 where no mod_perl is installed.

$ /perl/perl-5.6.1/bin/perl Makefile.PL -apxs
/apache/2.1/prefork/noperl/bin/apxs
Useless use of a constant in void context at
Apache-Test/lib/Apache/TestRun.pm line 1196.

strangely, the attached patch fixes things.

--Geoff
Index: Apache-Test/lib/Apache/TestRun.pm
===================================================================
RCS file: 
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestRun.pm,v
retrieving revision 1.152
diff -u -r1.152 TestRun.pm
--- Apache-Test/lib/Apache/TestRun.pm   19 Feb 2004 19:52:52 -0000      1.152
+++ Apache-Test/lib/Apache/TestRun.pm   24 Feb 2004 17:04:15 -0000
@@ -1193,7 +1193,8 @@
 
     # mod_perl 2.0 build always knows the right httpd location (and
     # optionally apxs)
-    $vars_must_overriden++ if Apache::TestConfig::IS_MOD_PERL_2_BUILD();
+    my $mp2 =  Apache::TestConfig::IS_MOD_PERL_2_BUILD();
+    $vars_must_overriden++ if $mp2;
 
     unless ($vars_must_overriden) {
         for (@data_vars_must) {

Reply via email to