in reply to problem using File::Find and taint

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);

Replies are listed 'Best First'.
Re^2: problem using File::Find and taint
by jonnyfolk (Vicar) on Dec 31, 2007 at 05:06 UTC
    That's done the trick, many thanks