... untested of course. See "perldoc File::Find".if (-d _ and /^_/) { $File::Find::prune = 1; return; }
Update: Or you may want to use "-d $_" instead.
bluto
In reply to Re: Pruning directory searches with File::Find
by bluto
in thread Pruning directory searches with File::Find
by annie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |