[Dbix-class] newbie user problem

Matt S Trout dbix-class at trout.me.uk
Thu Nov 23 15:54:30 GMT 2006


Hermida, Leandro wrote:
> my @books = $schema->resultset->('Book')->all;

should be $schema->resultset('Book')->all

what you've written is equivalent to

my $subref = $schema->resultset();
my @books = $subref->('Book')->all;




More information about the Dbix-class mailing list