find . -name threads.html -maxdepth 3 -mindepth 3 #### find2perl find . -name threads.html -maxdepth 3 -mindepth 3 Unrecognized switch: -maxdepth #### File::Find::find({wanted => \&wanted}, 'find', '.'); sub wanted { /^threads\.html\z/s; }