Help for this page

Select Code to Download


  1. or download this
    my $newfile = undef;
    finddepth(
    ...
    );
    done_finddepth:
    die "the new file is $newfile";
    
  2. or download this
        my $count = 0;
        &find(
    ...
             $count++;
            File::Find::breakout() if $count == 500;
        }, '/');