On Monday 12 February 2007 22:15, Will Smith wrote:
> my $recordset = [$c->model('myDB::Books')->search( authorid =>
> "${authorid}" )]; while(my $name = $recordset->next){
what's whith the square brackets [] ?
$recordset is not an object, just an arrayref, so ->next doesn't work.
--
Bogdan Lucaciu
http://www.wiz.ro