Here's an example to get you started:
my @files = glob("*"); my @sorted = sort { -s $a <=> -s $b } @files;
In reply to Re: Sorting based on filesize.
by eyepopslikeamosquito
in thread Sorting based on filesize.
by heigold1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |