Perl Monk, Perl Meditation | |
PerlMonks |
Re: Top and bottom 10 percent elements of an arrayby ikegami (Patriarch) |
on Apr 29, 2010 at 05:53 UTC ( [id://837453]=note: print w/replies, xml ) | Need Help?? |
It's simpler if you sort the indexes instead of the values.
Update: Fixed off-by-one error.
In Section
Seekers of Perl Wisdom
|
|