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...
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.
How about this? (Minor change)
<PEDANTIC>my @bigArr = (); foreach my $record ( @dataArr ) { foreach my $line ( &ParseRecur($record->[3], $base, $start, $stop) + ) { push(@bigArr, [ @$record[0, 1, 2], $line, @$record[4] ]); } }
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
|
---|
In Section
Seekers of Perl Wisdom