use Sort::Key qw(nkeysort); my @files_by_mtime = nkeysort { (stat)[9] } glob "$dir/*";
In reply to Re^2: How to list files in dir with respect to time ?
by salva
in thread How to list files in dir with respect to time ?
by swaroop
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |