dubx56 has asked for the wisdom of the Perl Monks concerning the following question:
E.g. given
I want to get 9,8,7.my $n = 3; my @numbers = qw( 3 5 7 2 5 9 8 7 3 6 );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to find the N largest values in an array?
by japhy (Canon) on Oct 03, 2001 at 23:04 UTC | |
by Anonymous Monk on Oct 03, 2001 at 23:18 UTC | |
Re: How to find the N largest values in an array?
by merlyn (Sage) on Oct 04, 2001 at 00:16 UTC | |
Re: How to find the N largest values in an array?
by Anonymous Monk on Oct 04, 2001 at 04:51 UTC | |
by blakem (Monsignor) on Oct 04, 2001 at 05:05 UTC | |
Re: How to find the N largest values in an array?
by fundflow (Chaplain) on Oct 04, 2001 at 14:45 UTC |
Back to
Seekers of Perl Wisdom