Leser: 15
QuoteInsecure dependency in chdir while running with -T switch at /usr/share/perl/5.10/File/Find.pm line 871.
1 2 3 4 5 6 7 8 9 10 11 12 13
sub GetAllFiles { my ($dir) = $_[0]; use File::Find; finddepth (\&wanted, $dir); return @files; } sub wanted { my @files = (); push @files,$File::Find::name; return @files; }
QuoteFile::Findfinddepth(\%options, @directories);
finddepth({ wanted => \&wanted, untaint => 1 }, $dir);