hehehe sem problema.<br><br>De qualquer forma foi muito boa sua explicação.<br><br>Vlw<br><br>André<br><br><div class="gmail_quote">2010/1/16 Daniel Hughes <span dir="ltr">&lt;<a href="mailto:dsthughes@gmail.com">dsthughes@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">desculpa. gmail threading so mostrou-me sua mensagem initial. acabei de realizer que ja solucionou. <div>
<div></div><div class="h5"><div><br></div><div>dan.<br><br><div class="gmail_quote">2010/1/16 Daniel Hughes <span dir="ltr">&lt;<a href="mailto:dsthughes@gmail.com" target="_blank">dsthughes@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">e como foi o encontro. tava atrasado. cheguei à praca de bandeiras exatamente quando o ceu abriu. nao pude achar o lugar nessa chuva. depois 20 minutos - tava tao molhado que desistí e voltei pra leme.<div>

<br></div><div>dan.<br>
<br><div class="gmail_quote">2010/1/16 Daniel Hughes <span dir="ltr">&lt;<a href="mailto:dsthughes@gmail.com" target="_blank">dsthughes@gmail.com</a>&gt;</span><div><div></div><div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


a unico coisa eu vejo na resposta em baixo eh o fato que o cara diz para passa-lo como referencia. entao eu tentei 3 formas. e este eh o problema sim.<div><br></div><div>pode passar como anonymous reference [@array] ou por endereco: \@array.</div>



<div><br></div><div>dan.<br><div><br></div><div><br></div><div><div>$c-&gt;stash-&gt;{a1} = (1..5);            </div><div>$c-&gt;stash-&gt;{a2} = [(1..5)];          </div><div>my @a3 = (1..5);                     </div><div>



$c-&gt;stash-&gt;{a3} = \@a3;     </div></div><div><br></div><div><br></div><div><div>&lt;h1&gt;first&lt;/h1&gt;</div><div>[% FOREACH b IN a1 %]</div><div>&lt;h3&gt;[% b %]&lt;/h3&gt;</div><div>[% END %]</div><div>  </div>



<div>da: &lt;h1&gt;first&lt;/h1&gt; </div><div><br></div><div><br></div><div>&lt;h1&gt;second&lt;/h1&gt;</div><div>[% FOREACH b IN a2 %]</div><div>&lt;h3&gt;[% b %]&lt;/h3&gt;</div><div>[% END %]</div><div>  </div><div>da: &lt;h1&gt;second&lt;/h1&gt; &lt;h3&gt;1&lt;/h3&gt; &lt;h3&gt;2&lt;/h3&gt; &lt;h3&gt;3&lt;/h3&gt; &lt;h3&gt;4&lt;/h3&gt; &lt;h3&gt;5&lt;/h3&gt; </div>



<div><br></div><div>&lt;h1&gt;third&lt;/h1&gt;</div><div>[% FOREACH b IN a3 %]</div><div>&lt;h3&gt;[% b %]&lt;/h3&gt;</div><div>[% END %]</div><div><br></div><div>da: &lt;h1&gt;third&lt;/h1&gt; &lt;h3&gt;1&lt;/h3&gt; &lt;h3&gt;2&lt;/h3&gt; &lt;h3&gt;3&lt;/h3&gt; &lt;h3&gt;4&lt;/h3&gt; &lt;h3&gt;5&lt;/h3&gt;</div>



<br></div><div><br></div><div><br></div><div><br></div><div><div><br>
</div></div></div>
</blockquote></div></div></div><br><br clear="all"><br>-- <br>Daniel S. T. Hughes M.Biochem (Hons; Oxford), Ph.D (Cambridge)<br>-------------------------------------------------------------------------------------<br>+55 21 8344 9098<br>


<a href="mailto:dsth@cantab.net" target="_blank">dsth@cantab.net</a><br><a href="mailto:dsth@cpan.org" target="_blank">dsth@cpan.org</a><br>
</div>
</blockquote></div><br><br clear="all"><br>-- <br>Daniel S. T. Hughes M.Biochem (Hons; Oxford), Ph.D (Cambridge)<br>-------------------------------------------------------------------------------------<br>+55 21 8344 9098<br>

<a href="mailto:dsth@cantab.net" target="_blank">dsth@cantab.net</a><br><a href="mailto:dsth@cpan.org" target="_blank">dsth@cpan.org</a><br>
</div>
</div></div><br>_______________________________________________<br>
Rio-pm mailing list<br>
<a href="mailto:Rio-pm@pm.org">Rio-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/rio-pm" target="_blank">http://mail.pm.org/mailman/listinfo/rio-pm</a><br></blockquote></div><br>