find (sub{
#skip directories which begin with 1
if (-d && $_ =~ /^\.snapshot.*$/)
{
$File::Find::prune = 1;
return;
}
edits => \&edits
},$dir);
In reply to Re: Skipping directories using File::Find
by doof
in thread Skipping directories using File::Find
by doof
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |