<?xml version="1.0" encoding="windows-1252"?>
<node id="991044" title="Re^9: Help with pushing into a hash" created="2012-08-31 12:59:25" updated="2012-08-31 12:59:25">
<type id="11">
note</type>
<author id="965102">
Kenosis</author>
<data>
<field name="doctext">
&lt;p&gt;The message:&lt;/p&gt;
&lt;c&gt;
Use of uninitialized value $1...
&lt;/c&gt;
&lt;p&gt;Means that the regex is not matching some lines in your data set.  Here are two options:&lt;/p&gt;
&lt;c&gt;
say if !/(.{6})\s+.+=([^\s]+)/;
&lt;/c&gt;
&lt;p&gt;This will show you the lines that are not matching, so you can adjust your regex, if needed.&lt;/p&gt;
&lt;c&gt;
next unless /(.{6})\s+.+=([^\s]+)/;
&lt;/c&gt;
&lt;p&gt;This will just skip those lines that don't match the regex.&lt;/p&gt;</field>
<field name="root_node">
990508</field>
<field name="parent_node">
991041</field>
</data>
</node>
