in reply to Re^4: Iterating through an array using multiple loops and removing array elements
in thread Iterating through an array using multiple loops and removing array elements
Unless I misunderstood, didn't you say the next top entry is derived from the first element in your new list of kept elements? If this is the case, the following line takes care of the problem. If this is not the case, then it would be helpful to have a more explicit set of specs for the script.
my ( $top_entry, @entries ) = @_;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Iterating through an array using multiple loops and removing array elements
by BiochemPhD (Novice) on Apr 24, 2014 at 05:34 UTC | |
by frozenwithjoy (Priest) on Apr 24, 2014 at 05:52 UTC | |
by frozenwithjoy (Priest) on Apr 24, 2014 at 06:45 UTC |
In Section
Seekers of Perl Wisdom