<?xml version="1.0" encoding="windows-1252"?>
<node id="674252" title="Re: Arrays and hashes only with references" created="2008-03-14 13:16:31" updated="2008-03-14 09:16:31">
<type id="11">
note</type>
<author id="665618">
wade</author>
<data>
<field name="doctext">
I code similarly to this but instead of:
&lt;code&gt;
$value = $$arrayref[2];
&lt;/code&gt;
I prefer:
&lt;code&gt;
$value = $arrayref-&gt;[2];
&lt;/code&gt;
The beauty of that notation is that it doesn't treat the outer level of a nest any differently.  </field>
<field name="root_node">
674203</field>
<field name="parent_node">
674203</field>
</data>
</node>
