On 6/28/06, Sarah Berry <[EMAIL PROTECTED]> wrote:
How can I pass an array to Template Toolkit, then loop through it? I'm
trying to pass it through the stash just like anything else, as
follows:
[...]
        $c->stash->{numarray} = @numtextCaps;

Use an arrayref:

$c->stash->{numarray} = [EMAIL PROTECTED];

_______________________________________________
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/

Reply via email to