@sorted = map { $_->[0] } sort { $a->[1] <=> $b->[1] } map { [ $_, (-s $_) ] } @unsorted;
--
[ e d @ h a l l e y . c c ]
In reply to Re^3: Finding oldest file in directory
by halley
in thread Finding oldest file in directory
by Nitrox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |