[CDBI] why retrieve doesn't return an object

Ken Perl kenperl at gmail.com
Thu May 18 10:19:39 BST 2006

In the document it says that retrieve will return a object, but in
fact it doesn't, it returns just a scalar, look into the code of
Class::DBI at line 664,

664:            return $rows[0];

$obj = Class->retrieve( %hash );

is this a bug?

perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"\@``

More information about the ClassDBI mailing list