From: "Simon Wilcox" <[EMAIL PROTECTED]>
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 _______________________________________________ List: Catalyst@lists.rawmode.org Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/ Dev site: http://dev.catalyst.perl.org/