my $global_prune = 0; sub wanted { $File::Find::prune = 1 and return if $global_prune; $global_prune = 1 if /first match/; }
In reply to Re: stopping File::Find at the first match
by repellent
in thread stopping File::Find at the first match
by pdxperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |