$ht=new HTML::Template(); my @data= ( { bar => [one => 'stuff', two => 'otherstuff'] }, { bar => [one => 'stuff2', two => 'otherstuff2'] } ); $ht->params(foo=>[@data]); print $ht->output;