use File::Find my @skip = qw( skip1 skip2 skip3 ); find( \&wanted, $directory ); sub wanted { return if grep { -d $_ and $_ eq $File::Find::name } @skip; ... }
In reply to Re: How do I recurse all *but* a few directories?
by boardryder
in thread How do I recurse all *but* a few directories?
by SamQi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |