Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Find directories lt 7 days old

by Anonymous Monk
on Apr 01, 2015 at 16:11 UTC ( [id://1122166]=note: print w/replies, xml ) Need Help??


in reply to Re: Find directories lt 7 days old
in thread Find directories lt 7 days old

Monks really should stop posting untested code ... getting the first reply is not the goal here.

Your code does not even handle traversing directories or even how to obtain the directories to inspect.

Replies are listed 'Best First'.
Re^3: Find directories lt 7 days old
by marinersk (Priest) on Apr 01, 2015 at 18:59 UTC

    It has been my experience that use of opendir/closediror File::Findand its ilk does not generally elude a Seeker who quotes the use of a CPAN module in their question.

    I do find, however, that use of -Xfrom perlfuncdoes often elude folks who do not use Perl on a regular basis.

    I provided an example of that built-in functionality which most closely matched what I felt Jeri was seeking.

    I would also note that my then-untested code worked without modification once tested.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2024-04-19 17:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found