print join "\n", sort {(stat $a)[8] <=> (stat $b)[8]} glob "./*";
-- Alexandr A Alexeev http://www.unixcommunity.net/ Andreas Moroder пишет:
Hello,according to the man glob can only sort by name. Is there a way to get a list of files sorted by date ?Bye Andreas
-- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/