<?xml version="1.0" encoding="windows-1252"?>
<node id="64792" title="Re: Why does this core? or How am I being a bonehead" created="2001-03-15 20:34:07" updated="2005-07-19 14:08:39">
<type id="11">
note</type>
<author id="2329">
stephen</author>
<data>
<field name="doctext">
Here's an attempt at a more elegant approach. I can't test it without sample data.

&lt;CODE&gt;
foreach my $record ( @dataArr ) {
    my (@date) = &amp;ParseRecur($record-&gt;[3], $base, $start, $stop);
    foreach my $line (@date) {
        @bigArr = ( @$record[0, 1, 2], $line, @$record[4] );
    }
}
&lt;/CODE&gt;

You might want to put it into a subroutine, and have it return @bigArr... not sure where that's being dealt with...

&lt;P&gt;
stephen
&lt;/P&gt;</field>
<field name="root_node">
64747</field>
<field name="parent_node">
64747</field>
</data>
</node>
