in reply to •Re: Juggling structures with Template Toolkit
in thread Juggling structures with Template Toolkit
Okay, that makes sense. Thank you.
that's bordering on a little too much processing in TT code
How would you go about doing that processing within the script then? I did try something along the lines of the following snippet and it failed horribly. Perhaps I'm just a little off?
$TMPL->process('something.tmpl', { myopts => [ map { {value => $_} } qw(one two three) ] } ); __END__ [% PROCESS "another.tmpl" options => myopts %]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re^2: Juggling structures with Template Toolkit
by perrin (Chancellor) on Apr 02, 2004 at 22:08 UTC | |
|
Re^3: Juggling structures with Template Toolkit
by Anonymous Monk on Apr 02, 2004 at 22:08 UTC | |
by jeffa (Bishop) on Apr 03, 2004 at 20:14 UTC |