From: "Matt Lawrence" <[EMAIL PROTECTED]>
Alternatively, get_columns will return a hash (not a reference!) of the
current row.
$c->stash->{obj }= { $row->get_columns };
Oh thanks. Finally I've used
$c->stash->{obj} = $obj;
and I've modified the template, because it seems that it is a better design.
What I thought that I need was something like:
$c->stash({ $row->get_columns });
And I'm happy that I also found about this method.
Note that this hash contains uninflated values, if you want column
inflation you'll need to loop.
Please tell me what it means column inflation.
Thanks.
Octavian
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/