Perl: the Markov chain saw | |
PerlMonks |
Re^2: Finding oldest file in directoryby pg (Canon) |
on Oct 18, 2004 at 18:38 UTC ( [id://400271]=note: print w/replies, xml ) | Need Help?? |
"it'd be faster to cache your stats for the sort" Depends on what does "oldest" mean, and how files are created, modified and removed from the directory. The catched info might not be correct and useful. It probably just increases the complexity of the program, with 10+ files in the directory, most likely not worth it.
In Section
Seekers of Perl Wisdom
|
|