Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Puzzled by File::Find

by dbae (Beadle)
on May 03, 2012 at 15:15 UTC ( #968761=note: print w/replies, xml ) Need Help??

in reply to Re: Puzzled by File::Find
in thread Puzzled by File::Find

Nail on the head. Thanks. I had stupidly assumed that these funny names were constructed by File::Find. Is there an easy way to tell File:Find to skip directories when not permitted to look at them?

Replies are listed 'Best First'.
Re^3: Puzzled by File::Find
by Anonymous Monk on May 03, 2012 at 15:32 UTC
    Use -d, -r, & -x functions to test the permissions to accept or reject a file.
Re^3: Puzzled by File::Find
by dbae (Beadle) on May 03, 2012 at 15:47 UTC
    Sorry: a misleading request. Presumably File::Find::find will automatically skip unreadable directories, and output an error message to STDERR. So I don't need to tell find to do any skipping. I think I should keep quiet for a while!!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2016-10-24 06:39 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (303 votes). Check out past polls.