Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2018-06-23 16:18 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.