in reply to Why does this core? or How am I being a bonehead
Here's an attempt at a more elegant approach. I can't test it without sample data.
You might want to put it into a subroutine, and have it return @bigArr... not sure where that's being dealt with...foreach my $record ( @dataArr ) { my (@date) = &ParseRecur($record->[3], $base, $start, $stop); foreach my $line (@date) { @bigArr = ( @$record[0, 1, 2], $line, @$record[4] ); } }
stephen
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Why does this core? or How am I being a bonehead
by SparkeyG (Curate) on Mar 16, 2001 at 01:46 UTC | |
by stephen (Priest) on Mar 16, 2001 at 02:57 UTC |
In Section
Seekers of Perl Wisdom