in reply to File::Find and non global Variables

Could you switch to Find::File::Rule. Lightly adapting the POD would suggest something like this:

use File::Find::Rule; my @files = File::Find::Rule->file() ->in( @my_directories );
--
<http://dave.org.uk>

"The first rule of Perl club is you do not talk about Perl club."
-- Chip Salzenberg