This is akin to the -prune flag of find(1). The pod for File::Find only gives one example using $File::Find::prune, unfortunately.if ($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 sacked
in thread File::find and skipping directories
by neilwatson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |