my $dictionary = [ { 'Spanish' => 'uno', 'English' => 'one', 'Italian' => 'uno', }, { 'Spanish' => 'dos', 'English' => 'twho', 'Italian' => 'due', }, { 'Spanish' => 'tres', 'English' => 'Three', 'Italian' => 'tre', } ]; use HTML::Template; my $template = HTML::Template->new(filename => 'dictionary.tmpl'); $template->param(DICTIONARY => $dictionary); $template->output;