Re: HTML::Template Loop Issue
Shawn Scott <[email protected]> Thu, 8 Apr 2010 20:32:20 -0400
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Message-ID | <[email protected]> |
--===============2924768540423958387== Content-Type: multipart/alternative; boundary=0016e64761549f70d30483c2ed74 --0016e64761549f70d30483c2ed74 Content-Type: text/plain; charset=ISO-8859-1 Wow, embarrassing I missed that? At any rate thanks for all the quick replies. On Thu, Apr 8, 2010 at 5:30 PM, Lyle <[email protected]> wrote: > 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); > } > > > -- To argue with a person who has renounced the use of reason is like administering medicine to the dead. Thomas Paine --0016e64761549f70d30483c2ed74 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <div>Wow, embarrassing I missed=A0that? At any rate thanks for all the quic= k replies.</div> <div>=A0</div> <div><br><br>=A0</div> <div class=3D"gmail_quote">On Thu, Apr 8, 2010 at 5:30 PM, Lyle <span dir= =3D"ltr"><<a href=3D"mailto:[email protected]">webmaster@cosmicpe= rl.com</a>></span> wrote:<br> <blockquote style=3D"BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex= ; PADDING-LEFT: 1ex" class=3D"gmail_quote">Problem with your hash scoping:-= =20 <div class=3D"im"><br><br>=A0my @error =3D @_; =A0my @error_loop =3D ();<br= ></div>=A0print header;<br>=A0foreach =A0(@error) {<br>=A0 my %error_data;= =20 <div> <div></div> <div class=3D"h5"><br>=A0 $error_data{ERROR_DATA} =3D $_;<br>=A0 push(@erro= r_loop, \%error_data);<br>=A0}<br><br><br></div></div></blockquote></div><b= r><br clear=3D"all"><br>-- <br>To argue with a person who has renounced the= use of reason is like administering medicine to the dead.<br> =A0<br>Thomas Paine<br> --0016e64761549f70d30483c2ed74-- --===============2924768540423958387== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Download Intel® 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 --===============2924768540423958387== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Html-template-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/html-template-users --===============2924768540423958387==--