<font face="georgia,serif"><br></font><br><div class="gmail_quote">2010/11/5 Stanislaw Pusep <span dir="ltr">&lt;<a href="mailto:creaktive@gmail.com">creaktive@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Legal!<br>Aproveitando: como vocês fazem para dar um shuffle() num array qqer? Eu costumo fazer:<br><br>my @x = (1..10);<br>for (my $i = 0; $i &lt;= $#x; $i++) {<br>    my $j = rand $#x;<br>    ($x[$i], $x[$j]) = ($x[$j], $x[$i])<br>



}<br></blockquote><div><br></div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><a href="http://www.perlmonks.org/?node_id=1869">http://www.perlmonks.org/?node_id=1869</a></div><div><a href="http://www.perlmonks.org/?node_id=1869"></a> </div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>ABS()<div><div></div><div class="h5"><br><br>
<br><br><div class="gmail_quote">On Fri, Nov 5, 2010 at 01:31, Daniel de Oliveira Mantovani <span dir="ltr">&lt;<a href="mailto:mantovani@perl.org.br" target="_blank">mantovani@perl.org.br</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">



<a href="http://stackoverflow.com/questions/4092348/in-perl-how-can-i-generate-an-array-with-random-values-without-using-a-loop" target="_blank">http://stackoverflow.com/questions/4092348/in-perl-how-can-i-generate-an-array-with-random-values-without-using-a-loop</a><br>




<br>
Além do conceito, eu achei interessante o hack para alterar uma função nativa.<br>
<br>
[]&#39;s<br>
<font color="#888888"><br>
--<br>
&quot;If you’ve never written anything thoughtful, then you’ve never had<br>
any difficult, important, or interesting thoughts. That’s the secret:<br>
people who don’t write, are people who don’t think.&quot;<br>
_______________________________________________<br>
SaoPaulo-pm mailing list<br>
<a href="mailto:SaoPaulo-pm@pm.org" target="_blank">SaoPaulo-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/saopaulo-pm" target="_blank">http://mail.pm.org/mailman/listinfo/saopaulo-pm</a><br>
</font></blockquote></div><br>
</div></div><br>_______________________________________________<br>
SaoPaulo-pm mailing list<br>
<a href="mailto:SaoPaulo-pm@pm.org">SaoPaulo-pm@pm.org</a><br>
<a href="http://mail.pm.org/mailman/listinfo/saopaulo-pm" target="_blank">http://mail.pm.org/mailman/listinfo/saopaulo-pm</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alexei Znamensky [russoz_gmail_com] [<a href="http://russoz.wordpress.com" target="_blank">russoz.wordpress.com</a>] [<a href="http://www.flickr.com/photos/alexeiz" target="_blank">www.flickr.com/photos/alexeiz</a>]<br>

<span style="font-family:arial, sans-serif;font-size:12.5px;border-collapse:collapse"><div>«Only love / <span style="font-size:12.5px">Can bring the rain / </span><span style="font-size:12.5px">That makes you yearn to the sky»</span></div>

</span><br>