in reply to Perl Template::Toolkit combining variables?
I don't understand your requirements, both the why and the what is a mystery to me. For example: Why do you have to use this data structure? If the data structure is not suitable for the templating system you can just generate a second temporary suitable data structure out of the data, call the template and throw the temporary data away.
But even with your actual data it seems you just need a nested loop to access the values:
[% FOREACH TimeData IN ReturnValues %] [% FOREACH Rd IN TimeData %] [% TimeData.Rd %] [% END %] [% END %]
Disclaimer: I'm not an TT expert
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Template::Toolkit combining variables?
by Frederic_S (Novice) on Jan 05, 2011 at 13:44 UTC |