<?xml version="1.0" encoding="windows-1252"?>
<node id="72808" title="Re: Re: NEWBIE Brain Teaser #2, by nysus" created="2001-04-16 12:07:55" updated="2005-07-19 14:08:39">
<type id="11">
note</type>
<author id="72806">
artist</author>
<data>
<field name="doctext">
&lt;code&gt;
$_ = qw(nothing nothing) 
&lt;/code&gt;
Translates to:&lt;BR&gt;
1. Under 5.005 
&lt;code&gt;
@_ = qw(nothing nothing)
&lt;/code&gt;
2. Under 5.6 &lt;BR&gt;
No effect on @_;&lt;BR&gt;

Resulting &lt;BR&gt;
call for &amp;subroutine &lt;BR&gt;

1. Under 5.005 &lt;BR&gt;
prints "..nothing..nothing" &lt;BR&gt;
2. Under 5.6 &lt;BR&gt;
prints "..alpha ..omega"&lt;P&gt;

Try:
&lt;code&gt;
print qw(1 2 3)[0]
&lt;/code&gt;
under 5.005 and 5.6.










</field>
<field name="root_node">
72671</field>
<field name="parent_node">
72674</field>
</data>
</node>
