use 5.010; use strictures; use Path::Class::Rule qw(); my $next = Path::Class::Rule ->new ->skip_dirs(qr/advanced/) # should come before file tests for effi +ciency ->name(qr/[.]log\z/) ->iter('.') # starting dir(s) ; while (my $file = $next->()) { say $file; }
In reply to Re: File::find preprocess problem
by Anonymous Monk
in thread File::find preprocess problem
by nemesdani
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |