[CDBI] UNIVERSAL::can

J/R Bartels bartels at jr.reno.nv.us
Thu Dec 27 21:44:05 GMT 2007


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



More information about the ClassDBI mailing list