in reply to Help with File::Find
You might find this code helpful as you can modify it to prune the recursion whenever you like.