in reply to Re^6: Better mousetrap (getting top N values from list X)
in thread Better mousetrap (getting top N values from list X)
Essentially. Although I think you probably meant...
-- All code is 100% tested and functional unless otherwise noted.
for my $top ( @topN ) { ## do something with $top }
-- All code is 100% tested and functional unless otherwise noted.
In Section
Seekers of Perl Wisdom