Help for this page

Select Code to Download


  1. or download this
    elsif (-d && /advanced/ ) {push (@toreturn, $_);}
  2. or download this
    use File::Find::Rule;
    my $rule = File::Find::Rule->new;
    ...
            ->name('*.log')
    );
    my @files = $rule->in( @startdirs );
    
  3. or download this
    use Path::Class::Rule;
    my $rule = Path::Class::Rule->new;
    ...
    while ( my $file = $next->() ) {
        ...
    }