Next Program Repair Shop 23

GrabFileList

        sub GrabFileList {
           my %result;
           for my $dir (@InputDIR) {
             opendir (FILELISTDIR,$dir);
             push @{$result{$dir}}, readdir FILELISTDIR;
             closedir FILELISTDIR;
           }
           return %result;
        }
        ( './wuexport' => [ file1, file2, file3... ],
          './cuexport' => [ file6, file7, file8... ],
        );


Next Copyright © 2002 M. J. Dominus