in reply to Re: How can I make File::Find skip over dirs to which I don't have permission?
in thread How can I make File::Find skip over dirs to which I don't have permission?

OK, I'm getting the hang of this format--I guess instead of a preview per se, I have a lag time for editing....

Anyway, in regards to using -r -x (or other tests), that will keep me from churning them through the subroutine, like so:

find ( \&procfile, @DIRS ); sub procfile { return if ! -r -x; # do something to everything else here }
But I am wondering how to keep Find::File from attempting to enter unpermitted subdirectories before they get processed by the subroutine.

Prost!

  • Comment on RE: Answer: How can I make File::Find skip over dirs to which I don't have permission?
  • Download Code