<?xml version="1.0" encoding="windows-1252"?>
<node id="1008166" title="Re^2: Problems with map(function, array)" created="2012-12-10 16:26:01" updated="2012-12-10 16:26:01">
<type id="11">
note</type>
<author id="1004106">
Redei</author>
<data>
<field name="doctext">
My problem is what happens when I don't use &lt;code&gt;$_&lt;/code&gt;:

&lt;code&gt;sub twice { 2 * $_[0] }

@a = map twice, 1..3;

print "@a\n";

==&gt; 0 0 0&lt;/code&gt;</field>
<field name="root_node">
1008163</field>
<field name="parent_node">
1008164</field>
</data>
</node>
