in reply to Finding directories at a variable depth

You could use a preprocess sub. Exactly this case is covered in:
Beginners guide to File::Find

I'm too lazy to be proud of being impatient.