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

If it's just a single directory you want to skip, you can set $File::Find::prune = 1. See File::Find for more details.