Setting $File::Find::prune global to a true value, you are telling find() function to avoid recursing into the current dir. You can find a (brief) mention of this feature on File::Find documentationif ($uid < 500){ print "UID is $uid, skipping $File::Find::dir $_\n"; $File::Find::prune = 1; return; }
In reply to Re: File::find and skipping directories
by cosimo
in thread File::find and skipping directories
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |