Specify a 'preprocess' routine and filter the directories:
--find( { wanted => sub { ... }, no_chdir => 1, preprocess => sub { grep not m/$dir/ => @_ }, }, $search_root );
In reply to Re: Ignoring a Directory with File::Find
by fruiture
in thread Ignoring a Directory with File::Find
by dru145
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |