in reply to sorting files by date and names
The main problem with this however is that ctime is not a true indication of the creation of the file (see. this node for more info).my @sorted_files = sort map { $_->[0] } sort { $a->[1] <=> $b->[1] } map { [ $_, [stat]->[10] ] } @files;
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: sorting files by date and names
by Win (Novice) on Mar 20, 2006 at 11:08 UTC | |
by jdporter (Paladin) on Mar 20, 2006 at 11:16 UTC |