I'm not particularly proud of using a do{} within a map.
Then don't do it :)
map { (my $ts = $_) =~ tr/0-9//dc; [ $ts, $_ ] }, @file_list;
In reply to Re^2: Sort files descending by date
by ikegami
in thread Sort files descending by date
by Scrat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |