[Catalyst] Perplexed Catalyst newbie
Matt S Trout
dbix-class at trout.me.uk
Mon Apr 20 13:29:51 GMT 2009
On Sun, Apr 19, 2009 at 09:51:42PM -0700, Sean McAfee wrote:
> [% FOR a IN as; FOR b IN a.bs; b.cs; "<br>"; END; END %]
b.cs here is equivalent to:
my $val = [ $b->cs ];
not
my $val = $b->cs;
You probably wanted b.cs_rs, which always returns a resultset.
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
More information about the Catalyst
mailing list