in reply to File::find preprocess problem

I find declarative/rule-based programming with Path::Class::Rule better. F::F has the worst interface of all file finding modules.
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; }