Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: traversing directory's

by athomason (Curate)
on Mar 12, 2001 at 01:25 UTC ( #63663=note: print w/ replies, xml ) Need Help??

in reply to traversing directory's

File::Find actually sounds ideal for what you want, and it will most likely do it better than you could yourself. Typical file-tree depth searchers get hung up on symbolic links if you don't explicitly take them into account. File::Find will handle this and other problems with aplomb. It's also very flexible; just plug in your matching function (wanted() in the docs) and you're up and running. See Corion's review and following thread for additional considerations, and the local copy of the |File::Find doc for how to use it. And of course, there are a boatload of existing nodes around the site (see above posts) relating to the module.

Comment on Re: traversing directory's

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2015-10-09 15:04 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (242 votes), past polls