File-Find-Rule

 view release on metacpan or  search on metacpan

findrule  view on Meta::CPAN

    next unless -d $dir;
    my @pm = find( name => '*.pm', maxdepth => 1,
                   exec => sub { (my $name = $_) =~ s/\.pm$//;
                                 eval "require File::Find::Rule::$name"; },
                   in => $dir );
}

# what directories are we searching in?
my @where;
while (@ARGV) {
    local $_ = shift @ARGV;
    if (/^-/) {
        unshift @ARGV, $_;
        last;
    }
    push @where, $_;
}

# parse arguments, build a rule object
my $rule = new File::Find::Rule;
while (@ARGV) {

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 0.819 second using v1.00-cache-2.02-grep-82fe00e-cpan-c9a218a2bbc )