in reply to File::Find how to prevent processing the subdirectory

If you do not need to traverse a directory tree, why do you want to use File::Find? Combining standard directory operations (e.g. readdir) and file operations (-X) should suffice. This sounds a lot like an XY Problem.

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

  • Comment on Re: File::Find how to prevent processing the subdirectory