Skip Menu |

This queue is for tickets about the Apache-ASP CPAN distribution.

Report information
The Basics
Id: 75617
Status: new
Priority: 0/
Queue: Apache-ASP

People
Owner: Nobody in particular
Requestors: fschlich [...] zedat.fu-berlin.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.62
Fixed in: (no value)



Subject: Use of uninitialized value $rv in lc at /usr/share/perl5/Apache/ASP.pm line 2018.
Hi, running the test suite with warnings enabled (as is usually the case nowadays, e.g. when running "prove t/*.t"), produces *lots* of "uninitialized value $rv" warnings. This is easily fixed by the following patch: --- a/ASP.pm +++ b/ASP.pm @@ -2015,7 +2015,7 @@ sub get_dir_config { my $rv = shift->get(shift); - if(lc($rv) eq 'off') { + if(defined($rv) && lc($rv) eq 'off') { $rv = 0; # Off always becomes 0 } $rv; Florian