my @topTen = (); while( moreFiles() ) { push @topTen, some_munged_key_using_file_size_and_name(); @topTen = (reverse sort @topTen)[0..9]; }
In reply to Re: finding top 10 largest files
by rje
in thread finding top 10 largest files
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |