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;


_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/

Reply via email to