Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How do I ignore an entire directory using File::Find?

by roboticus (Chancellor)
on Jun 18, 2014 at 05:05 UTC ( #1090252=note: print w/ replies, xml ) Need Help??


in reply to How do I ignore an entire directory using File::Find?

theillien1:

If you provide a preprocess function in File::Find, you can do it easily. Just remove the directory from the list of strings and it will skip the directory entirely.

...roboticus

When your only tool is a hammer, all problems look like your thumb.


Comment on Re: How do I ignore an entire directory using File::Find?

Log In?
Username:
Password:

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

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

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls