No such thing as a small change | |
PerlMonks |
Re: Re: find "x" quantity newest files in a dirby merlyn (Sage) |
on Jun 27, 2001 at 18:10 UTC ( [id://91923]=note: print w/replies, xml ) | Need Help?? |
You might find this rather expensive if you have 100 files or so, but if the directory is constantly being trimmed to 10 or 15 files, that's probably OK. Just in case someone copies your code for another task, it's nice to know how it scales.
-- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|