$img_number = $1;
$img_user = $2;
$hash{$img_number} = $img_user;
####
my @loop_data = ();
push(@loop_data, \%hash);
my $template = HTML::Template->new(filename => 'fun.tmpl');
my $CGI = CGI->new();
$template->param(template_loop => \@loop_data);
print $CGI->header( );
print $CGI->title("Here is your output.");
print $template->output;
exit;
####
HTML::Template->output() : fatal error in loop output : HTML::Template : Attempt to set nonexistent parameter 'URL229' - this parameter name doesn't match any declarations in the template file : (die_on_bad_params => 1) at /usr/share/perl5/HTML/Template.pm line 2789
at /var/www/QQ/funtimes.pl line 171