<?xml version="1.0" encoding="windows-1252"?>
<node id="1009643" title="Re^5: Problem with ampersand and regex" created="2012-12-19 16:48:14" updated="2012-12-19 16:48:14">
<type id="11">
note</type>
<author id="281137">
davido</author>
<data>
<field name="doctext">
&lt;p&gt;Add the following to your script:&lt;/p&gt;
&lt;c&gt;
use Data::Dumper;
&lt;/c&gt;
&lt;p&gt;...and then on the line immediately preceding your "for" loop, add, "&lt;c&gt;print Dumper \@array;&lt;/c&gt;".
&lt;p&gt;There might be something broken in your input data, and that would be a simple means of identifying (or eliminating) it as a problem.&lt;/p&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-281137"&gt;
&lt;br /&gt;&lt;p&gt;Dave&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
1009616</field>
<field name="parent_node">
1009638</field>
</data>
</node>
