Re: HTML::Template Loop Issue

Lyle <[email protected]> Thu, 08 Apr 2010 22:54:57 +0100
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
Problem with your hash scoping:-

 my @error = @_;  my @error_loop = ();
 print header;
 foreach  (@error) {
   my %error_data;
   $error_data{ERROR_DATA} = $_;
   push(@error_loop, \%error_data);
 }



------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev