Beware of code like /$dir/ because you might have inadvertent matches, such as with "jazz" instead of "zz".sub findstuff { if (-d && $_ eq 'zz') { $File::Find::prune = 1; return; } # then other stuff as normal }
In reply to Re: Searching all directories except one
by Thelonius
in thread Searching all directories except one
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |