in reply to Re: Sort files descending by date
in thread Sort files descending by date
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Sort files descending by date
by FunkyMonk (Bishop) on Jun 19, 2007 at 18:19 UTC |