in your first if block right before the return. This tells File::Find not to recurse into that dir. Check the perldoc for more info.$File::Find::prune = 1;
You might also want to check if it is indeed a dir in that same if block, instead of just checking the UID.
In reply to Re: File::find and skipping directories
by Paladin
in thread File::find and skipping directories
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |