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

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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968761]
help
Chatterbox?
[karlgoethebier]: The early bird catches the worm
holli enters he monastery hall, freezing but happy to have built the most beautiful snowman in the history of mankind
[holli]: tbh, the thing looks more like quasimode but hey, the thought matters. and it has blue LEDs as eyes
[holli]: we had solid 8cm fresh snow overnight. that is quite unusual for the area

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-12-18 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (467 votes). Check out past polls.

    Notices?