#!/usr/bin/perl -- use strict; use warnings; use CGI::FormBuilder; my $form = CGI::FormBuilder->new(template => 'test.tmpl'); my @loop_data = DATA::DUMPER OUTPUT HERE!!!!!; print 'wrong output ', $template->tmpl_param(PHONES => \@loop_data); __END__ wrong output here