- or download this
#!/perl
use strict;
...
print "[$dir] $File::Find::dir $File::Find::name\n";
}
- or download this
my @dir = ( qw( N:/TMP N:/TMP_2 ));
for my $dir ( @dir)
{
find( \&wanted, $dir );
}
- or download this
Global symbol "$dir" requires explicit package name at ...
- or download this
for my $dir ( @dir)
{
find( sub {print "[$dir] $File::Find::dir $File::Find::name\n";},
$dir );
}