http://www.perlmonks.org?node_id=484561


in reply to Re: Error when passing AoH ref to HTML::Template
in thread Error when passing AoH ref to HTML::Template

Are you sure that $template->param( warnings => \@warning ) is supposed to return a postive value?
It does. When I comment out that line, and just print the output everything works fine. Dumper @warning prints the following:

$VAR1 = { 'missing' => 'email' }; $VAR2 = { 'missing' => 'phone' };
You're right. It doesn't. As mentioned below I shouldn't have used die.


-silent11
Spread Firefox