Does it work better if you chomp the lines you read from the file?
while (<JPG>) { chomp; # save so F::F doesn't overwrite my $extension = qr/$_/; find( sub { push @foundfiles, $File::Find::name if /$extension/; }, + @directories ); }
In reply to Re: feed File::Find::Name from a list
by chromatic
in thread feed File::Find::Name from a list
by HeadScratcher
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |