Do you know where your variables are? | |
PerlMonks |
Re: Re: File list by dateby snax (Hermit) |
on Dec 21, 2000 at 20:56 UTC ( [id://47822]=note: print w/replies, xml ) | Need Help?? |
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
|
|