Help for this page

Select Code to Download


  1. or download this
    sub wanted {
        print OUT "$File::Find::dir/";  
        print OUT "$_\n";          
        }
    
  2. or download this
    $File::Find::dir  = /some/path/
    $_                = foo.ext
    $File::Find::name = /some/path/foo.ext
    
  3. or download this
    print OUT "$File::Find::name";
    
  4. or download this
    ###selection criteria is a set of easy Regular Expressions:
    foreach my $file1(@file1only) {
    ...
            print OUT $file1;
            }
    }
    
  5. or download this
    ###selection criteria is a set of easy Regular Expressions:
    foreach my $file1(@file1only) {
    ...
            print OUT $file1;
            }
    }
    
  6. or download this
    print OUT "LOWERCASING ALL FILE AND PATHNAMES BEFORE COMPARING.\n";
    print "\n\n";
    
  7. or download this
    print OUT "IGNORING FILES WITH Tmp OR Temp IN PATHNAME.\n";
    
  8. or download this
    $file1 =~ /\btemp\W\w)/; # temp is not the filename