Skip Menu |

This queue is for tickets about the Class-DBI CPAN distribution.

Report information
The Basics
Id: 15630
Status: stalled
Priority: 0/
Queue: Class-DBI

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

Bug Information
Severity: Normal
Broken in: v3.0.10
Fixed in: (no value)



Subject: "Use of uninitialized value in join or string" warning
I'm getting the following error filling up my Apache logs: Use of uninitialized value in join or string at /usr/local/lib/perl5/site_perl/5.8.6/Class/DBI.pm line 47. This happens on the stringification of classes. The following patch quiets things down: $ diff DBI.pm.orig DBI.pm 47c47 < return join "/", $self->get(@cols); --- Show quoted text
> return join "/", map { defined $_ ? $_ : '' } $self->get(@cols);
Cheers, ky
[guest - Tue Nov 8 13:32:34 2005]: Show quoted text
> I'm getting the following error filling up my Apache logs: > Use of uninitialized value in join or string at > /usr/local/lib/perl5/site_perl/5.8.6/Class/DBI.pm line 47. > This happens on the stringification of classes. The following patch > quiets things down:
Under what circumstances is this happening? I'm slightly reluctant to add this extra check, but if you can explain where this is coming from I could be persuaded easily enough. Thanks, Tony