Help for this page

Select Code to Download


  1. or download this
      sub wanted { 
          print "$File::Find::dir/$hold\n" 
              if /\.(\w+)$/ and exists $exts{ lc $1 };
      }
    
  2. or download this
      my %already_seen;
    
      sub wanted { 
    ...
              if /\.(\w+)$/ and exists $exts{ lc $1 } 
              and not $already_seen{ $File::Find::dir }++;
      }