$template->param( FILES => [ map +{ NAME => $_ }, @files ], ); #### map +{ NAME -> $_}