Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-18 12:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found