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

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to