[% # untested and I may get it wrong... sorry newdata = []; FOR item = myopts; newdata.push({ 'value' => item }); END; PROCESS another.tmpl options => newdata; %]
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: Juggling structures with Template Toolkit
by merlyn
in thread Juggling structures with Template Toolkit
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |