<?xml version="1.0" encoding="windows-1252"?>
<node id="482575" title="Re^3: Passing arrays and references to arrays" created="2005-08-10 07:46:08" updated="2005-08-11 00:14:23">
<type id="11">
note</type>
<author id="64906">
simon.proctor</author>
<data>
<field name="doctext">
If I understand everything correctly  then I don't think this is a fourth variant:
&lt;code&gt;
 \@$choices
&lt;/code&gt;
compared to
&lt;code&gt;
 $choices
&lt;/code&gt;
I think you need to look up array refs and pay particular attention to referencing and dereferencing. In both cases you have an array ref, however in the first you deref it only to then make it a reference again. The second doesn't do this unneccessary merry go round.
&lt;br&gt;&lt;br&gt;
HTH.</field>
<field name="root_node">
482558</field>
<field name="parent_node">
482567</field>
</data>
</node>
