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

Re: How do you make File::Find a bit less ugly?

by bart (Canon)
on Jun 14, 2006 at 08:08 UTC ( [id://555187]=note: print w/replies, xml ) Need Help??


in reply to How do you make File::Find a bit less ugly?

I don't use wanted. Instead, I use an inline sub for callback.
find sub { if(wantThis) { print "Here's a file I want: $File::Find::name\n"; } }, @directoryList;

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-24 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found