I have the following piece of code:
# in controller
...
while ( my $row = $file->read ) {
push @record, {
id => $row->{id},
name => $row->{name},
};
}
$c->stash->{recs} = @records;
.....
What is the syntax on the tt2 to access the id and name?
Or please point me to somewhere that I could do some reading on the question.
Thank you
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit._______________________________________________
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/