The File::Find documentation suggests that you can pass options to find() to provide an untainting pattern for directory names. You may be able to get away with:
find({ untaint => 1, wanted => \&find_word }, $dir);In reply to Re: problem using File::Find and taint
by chromatic
in thread problem using File::Find and taint
by jonnyfolk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |