[Catalyst] putting an object in the stash
Octavian Rasnita
orasnita at gmail.com
Tue Mar 13 11:21:49 GMT 2007
From: "Simon Wilcox" <simonw at digitalcraftsmen.net>
> I just put the object in the stash. TT abstracts the method/hash key
> accessor issue for you so that [% obj.name1 %] will work whether obj is an
> object with a name1 accessor or a hash with a name1 key.
>
Ok, then I will use that way. I hoped that the first solution could be
possible, because I don't want to use [% obj.name %] but only [% name %] if
it works.
Octavian
More information about the Catalyst
mailing list