Considering it's incomplete code calling a non-standard routine which does who-knows-what, you're pretty much going to get no useful answers.
Well, you'll get useful answers like the above pointing you at File::Find::Rule; but you'll ignore them and blindly rage on and post 3 more all but identical questions trying to figure out why what you've not shown us isn't meeting your unspecified personal definition of "working"-ness.
And despite the fact that you'll get several more people replying to each of them pointing you at How (Not) To Ask A Question YET AGAIN you'll still persist in posting poorly formulated, incomplete questions.
If only PM had /ignore for SoPW . . .
In reply to Re: How do I read files in a directory and not directories?
by Fletch
in thread How do I read files in a directory and not directories?
by Win
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |