in reply to File::find preprocess problem
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; }
|
|---|