
david at kineticode
Mar 1, 2009, 9:45 PM
Post #2 of 9
(1516 views)
Permalink
|
|
Re: RE : [8395] - put apreq back to apreq2 (fix it better if necessary)
[In reply to]
|
|
On Feb 28, 2009, at 4:37 AM, Matthew Rolf wrote: > So it looks like we have two choices with this - leave it as-is, > which seems to work for the majority of systems at this point, or > make it work with both. Last night, I was trying to make it work > with both, by changing apreq to apreq2 and adding a wildcard to line > 256: > > if ($AP{load_modules}.{"${mod}_module"} Sorry, where's the wildcard there? Looks just like what's in trunk right now. > > Doing that lets it detect the module, but it gives me these errors: > > Checking for required Apache modules... > Odd number of elements in anonymous hash at inst/htprobe_apache2.pl > line 256. > Odd number of elements in anonymous hash at inst/htprobe_apache2.pl > line 256. > Odd number of elements in anonymous hash at inst/htprobe_apache2.pl > line 256. > Use of uninitialized value $file in concatenation (.) or string at / > usr/pkg/lib/perl5/5.10.0/x86_64-netbsd-thread-multi/File/Spec/ > Unix.pm line 102. > All required modules found. What is line 256 in your copy? > I suppose I could turn errors off, but that seems to be a junky sort > of way out. I'm sure this is a pretty noobish question, but is > there a way to get the wildcard in there without it spitting the > errors? Would have to know what the wildcard is. And sometimes it make sense to disable strict and/or warnings in certain lexical scopes in order to keep the programming clean. Best, David
|