<?xml version="1.0" encoding="windows-1252"?>
<node id="657332" title="$array[ 'Infinity' ]" created="2007-12-16 17:49:05" updated="2007-12-16 12:49:05">
<type id="115">
perlquestion</type>
<author id="587543">
Sixtease</author>
<data>
<field name="doctext">
&lt;p&gt;Hello friends,&lt;/p&gt;

&lt;p&gt;this is more an expression of confusion and surprise than a question.&lt;/p&gt;

&lt;code&gt;
@a = (5 .. 10);
print 
$a['Infinity'], "\n",
$a[-Infinity], "\n";

#outputs 10 and 5
&lt;/code&gt;
&lt;p&gt;Is this documented anywhere?&lt;/p&gt;
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-587543"&gt;
&lt;small&gt;use strict; use warnings; print "Just Another Perl Hacker\n";&lt;/small&gt;
&lt;/div&gt;&lt;/div&gt;</field>
</data>
</node>
