OK - I assumed that the e2event in your foreach was the e2event value from the $VAR1 dumped.
[% FOREACH element IN VAR1.e2event %] [% element.e2eventname %] [% END %]
Replace VAR1 with the actual variable you dumped.
To see how the template sees your variable:
[% USE Dumper indent=2 %] [% Dumper.dump(some_variable) %]
In reply to Re^3: Templates and hash arrays?
by keszler
in thread Templates and hash arrays?
by packetstormer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |