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