[Catalyst] MojoMojo code questions

Sebastian Riedel sri at oook.de
Mon May 2 00:16:19 CEST 2005


Am 01.05.2005 um 23:52 schrieb Kevin Old:
> In the MojoMojo code set, /lib/MojoMojo/C/Page.pm I don't see where
> the "data" for [% content = page.content %] that's in
> /root/base/page/view.tt.  How's it generated?  I know it comes from
> the database, but I can't see the line/lines of code that "make it
> happen".

$c->stash->{foo} = 123; will be available as [% foo %]

--
sebastian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20050502/f675d7a9/attachment.htm


More information about the Catalyst mailing list