http://qs321.pair.com?node_id=64829


in reply to Re: Re: Why does this core? or How am I being a bonehead
in thread Why does this core? or How am I being a bonehead

Brother SparkeyG...

How about this? (Minor change)

my @bigArr = (); foreach my $record ( @dataArr ) { foreach my $line ( &ParseRecur($record->[3], $base, $start, $stop) + ) { push(@bigArr, [ @$record[0, 1, 2], $line, @$record[4] ]); } }
<PEDANTIC>
As a general principle: using counting variables like $place can increase program complexity unnecessarily... if you're building a list it's best to use push.

In the same spirit, I eliminated @date, since it's only used in one place.
</PEDANTIC>

stephen