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
Download (untitled) / with headers
text/plain 423b
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
Download (untitled) / with headers
text/plain 494b
[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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.