Amazon-CreatorsAPI

 view release on metacpan or  search on metacpan

xt/09_inclusive.t  view on Meta::CPAN

        ->in('.');
    ok( scalar(@files) == 0 )
        or note join("\n", sort map { "Path:'$_' has keywords." } @files);
}

{
    my @files = File::Find::Rule
        ->extras({ untaint => 1 })
        ->file
        ->ascii
        ->not_name('09_inclusive.t')
        ->exec(sub {
            return if $_[2] =~ m!^\.git/!;
            open my $fh, '<', $_ or die "Could not open '$_'";
            my $content = do { local $/; <$fh> };
            return 1 if $content =~ m!$cond!i;
        })
        ->in('.');
    ok( scalar(@files) == 0 )
        or note join("\n", sort map { "File:'$_' has keywords." } @files);
}



( run in 1.158 second using v1.01-cache-2.11-cpan-e1769b4cff6 )