This is a really important point - prune on $File::Find::name match works best. e.g.
my $crnt_file = $File::Find::name; my $root = $::root_dir; if (scalar grep($crnt_file =~ m/^$root$_/, @::prune) != 0) { print Dumper($crnt_file); $File::Find::prune = 1; return; }
This tip helped heaps. Thanks.
In reply to Re^3: File::Find::prune problems
by Anonymous Monk
in thread File::Find::prune problems
by spx2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |