No such thing as a small change | |
PerlMonks |
Re: Cleaning up by ageby Jazz (Curate) |
on Nov 13, 2001 at 00:31 UTC ( [id://124907]=note: print w/replies, xml ) | Need Help?? |
Here's an easy way to glob, sort, and propagate an array with the 10 oldest files in a directory... Hope this helps. Update: The above code utilizes the Schwartzian Transform. Thanks, Jonathan for pointing out the oversight.
In Section
Seekers of Perl Wisdom
|
|