[CDBI] UNIVERSAL::can

J/R Bartels <bartels-PbZeFugoKA7V5+i2Ae/[email protected]> Thu, 27 Dec 2007 13:44:05 -0800
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
I would love to see someone fix this in the module so I don't have to 
edit it on every machine I install.


Called UNIVERSAL::can() as a function, not a method at 
/usr/lib/perl5/site_perl/5.8.8/Class/DBI.pm line 265

I always fix it like this:

#       UNIVERSAL::can($_ => 'id') and $_ = $_->id for @pk_values;
         eval { $_ = $_->id } for @pk_values;

Is there some way to get this into a release?


Thanks
-Jbart