Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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?

Comment on Re^2: Puzzled by File::Find
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 studying the Monastery: (11)
As of 2015-11-30 13:42 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (771 votes), past polls