The quick and dirty way (security, performance and portability restrictions apply):
@dir = `ls -c`; chomp @dir;
In reply to Re: READDIR - Sort by Time?
by fglock
in thread READDIR - Sort by Time?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |