|
|
| Just another Perl shrine | |
| PerlMonks |
Re: Re: File list by dateby snax (Hermit) |
| on Dec 21, 2000 at 15:56 UTC ( [id://47822]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Heh -- non Perl advice follows :)
If you're using linux (or most any *nix -- I think this flag is the same for most versions of ls) you should just use the -t flag and let ls do the time sorting for you. Or use -T for most recent first. Similarly, there are flags for dir that allow it to do the sorting, too. See dir /? for clues.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||