Next Program Repair Shop 24

GrabFileList

        sub GrabFileList {
          my $dir = shift;
          opendir FILELISTDIR, $dir;
          my @files = readdir FILELISTDIR;
          closedir FILELISTDIR;
          return @files;
        }
        for my $dir (@InputDIR) {
          my @files = GrabFileList($dir);
          # ...
          CopyFiles($dir, @files);
        }


Next Copyright © 2002 M. J. Dominus