Help for this page

Select Code to Download


  1. or download this
    my $path = "C:/some/path";
    
    ...
    my @filesInDir = grep { -f "$path/$_" } readdir( ORIG );
    
    closedir ORIG;
    
  2. or download this
    while ( my $file = readdir( ORIG ))
    {
    ...
        }
        print "$path/$file $verb a file\n";
    }