Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: skip directories when using File::Find

by DrZaius (Monk)
on Jun 27, 2001 at 03:55 UTC ( [id://91787]=note: print w/replies, xml ) Need Help??


in reply to skip directories when using File::Find

How about something like this:
sub update { return if(m!^$restrict!o); # work here }
You could switch it to a grep if you have a list of dirs to ignore as well.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-03-29 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found