Skip Menu |

This queue is for tickets about the Log-Handler CPAN distribution.

Report information
The Basics
Id: 63687
Status: resolved
Priority: 0/
Queue: Log-Handler

People
Owner: Nobody in particular
Requestors: RSAVAGE [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.68
Fixed in: (no value)



Subject: Uninitialized reference to $options{driver}
Hi Jonny In Log::Handler::Output::DBI, sub _validate says the 'driver' option is optional, at line 434. That's OK. But at line 556 the line: if ($options{driver} =~ /oracle/i) { should say: if ($options{driver} && ($options{driver} =~ /oracle/i) ) { to stop this msg: Use of uninitialized value $options{"driver"} in pattern match (m//) at /home/ron/perl5/lib/perl5/Log/Handler/Output/DBI.pm line 556. Cheers Ron
Fixed in 0.69.