use Sort::Key qw(nkeysort); opendir my $dh, "..." or die; my @sorted = nkeysort { -M } grep /\w/, readdir $dh;
In reply to Re: Getting a list of files in a directory sorted by date
by salva
in thread Getting a list of files in a directory sorted by date
by slloyd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |