in reply to Re: Nested HTML::Template Loops
in thread Nested HTML::Template Loops

You can't use $_ in a <TMPL_LOOP>, but you can use map to turn a flat list into a list of hashes:

'sub_sections' => [ map {{ 'sub_section_name' => $_ }} 'Foo part 1', 'Foo part 2', 'Fo +o part 3' ],

--bwana147