Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Finding oldest file in directory

by elwarren (Curate)
on Oct 19, 2004 at 18:15 UTC ( #400610=note: print w/ replies, xml ) Need Help??


in reply to Finding oldest file in directory

How about adding a test to see if the directory has changed before examining every file in the dir? If the dir hasn't updated, skip the test.


Comment on Re: Finding oldest file in directory
Replies are listed 'Best First'.
Re^2: Finding oldest file in directory
by Anonymous Monk on Oct 21, 2004 at 10:22 UTC
    Along the same lines, test what was the oldest file last time and if it hasn't changed, it is still the oldest file.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://400610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2015-08-31 04:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (352 votes), past polls