I think I need a new prescription for my glasses

Thank you

-----Original Message-----
From: Matt S Trout [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 23, 2006 16:55
To: [email protected]
Subject: Re: [Dbix-class] newbie user problem

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]/

_______________________________________________
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