in reply to Juggling structures with Template Toolkit

Is this what you mean?

[% FOREACH option = myopts %] [% PROCESS another.tmpl value = option %] [% END %]

Replies are listed 'Best First'.
Re^2: Juggling structures with Template Toolkit
by Anonymous Monk on Apr 02, 2004 at 22:02 UTC

    No, I need a method to dynamically generate this:

    [% PROCESS "another.tmpl" options => [ { value => 'one' }, { value => 'two' }, { value => 'three' } ] %]