Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Error when passing AoH ref to HTML::Template

by silent11 (Vicar)
on Aug 17, 2005 at 19:49 UTC ( #484561=note: print w/replies, xml ) Need Help??


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