Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: use file::find to find files modified in last 5 days

by nemesdani (Friar)
on Feb 22, 2012 at 12:24 UTC ( #955507=note: print w/ replies, xml ) Need Help??


in reply to use file::find to find files modified in last 5 days

Check if a file is older than certain days:
if (-M FILEHANDLE > $howmanydays)
No reason to overcomplicate it.


Comment on Re: use file::find to find files modified in last 5 days
Download Code
Re^2: use file::find to find files modified in last 5 days
by Anonymous Monk on May 27, 2013 at 08:03 UTC
    Thanks for your comment, you save my time.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (13)
As of 2014-09-18 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (120 votes), past polls