2009/3/24 marcos rebelo <span dir="ltr">&lt;<a href="mailto:oleber@gmail.com">oleber@gmail.com</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Tue, Mar 24, 2009 at 5:54 PM, Michele Beltrame &lt;<a href="mailto:mb@cattlegrid.info">mb@cattlegrid.info</a>&gt; wrote:<br>
&gt; I would say number 14 could be changed a bit, as keys() might return<br>
&gt; keys in any order, so arrays shown as options could not be correct as<br>
&gt; far as ordering is concerned.<br>
<br>
</div></div>before there was a sort in there. You don&#39;t imagine the casino in the<br>
Lisbon PM, the alphabetic order, ...<br>
<br>
So at the end, this is the only possible answer.</blockquote><div><br>Except that without the sort the answer is wrong, and with the sort the answer is right ;-)<br><br>DB&lt;6&gt; @a{1,2,19,6,2,6}=(1..6); print Dumper([ sort keys %a ]);                                    <br>
$VAR1 = [&#39;1&#39;,&#39;19&#39;,&#39;2&#39;,&#39;6&#39;];<br><br>You could try sort { $a &lt;=&gt; $b } keys %a to be clearer?<br>osf&#39;</div></div>