<?xml version="1.0" encoding="windows-1252"?>
<node id="1010731" title="Re^3: Hash of arrays" created="2012-12-28 13:54:36" updated="2012-12-28 13:54:36">
<type id="11">
note</type>
<author id="159887">
NetWallah</author>
<data>
<field name="doctext">
If you had 
&lt;c&gt;
use strict;
use warnings;
&lt;/c&gt; 
at the top of your code, it would have pointed out your problem, with the message:
&lt;c&gt;
Use of uninitialized value in list assignment at ..
&lt;/c&gt;
(This comes from 'use warnings;')&lt;p&gt;
There is overwhelming agreement here that those two directives should be at the top of EVERY script you write, and you have just experienced an instance where it could have saved days of questioning and struggle.
&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-159887"&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;small&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."
 &amp;nbsp; &amp;nbsp;
&amp;nbsp; &amp;nbsp; &amp;nbsp; -Confucius
&lt;/small&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1010633</field>
<field name="parent_node">
1010683</field>
</data>
</node>
