Help for this page

Select Code to Download


  1. or download this
    #!/perl
    use strict;
    ...
      print "[$dir] $File::Find::dir $File::Find::name\n";
    }
    
  2. or download this
    my @dir = ( qw( N:/TMP N:/TMP_2 ));
    for my $dir ( @dir)
    {
      find( \&wanted, $dir );
    }
    
  3. or download this
    Global symbol "$dir" requires explicit package name at ...
    
  4. or download this
    for my $dir ( @dir)
    {
      find( sub {print "[$dir] $File::Find::dir $File::Find::name\n";}, 
      $dir );
    }