Next Program Repair Shop 45

CreateOutputDir

        sub CreateOutputDir {
            my $dir = shift;
            print "Creating DIR: ",$dir,"\n";
            $I = mkdir($dir,0777);
            if ($I) {
                print "Success! \n";
            } else {
                print "Fail! : $! \n";
            }
        }
        &CreateOutputDir("$InputDir1/$NextOut");
        &CreateOutputDir("$InputDir2/$NextOut");
        for my $dir (@InputDir) {
          &CreateOutputDir("$dir/$NextOut");
        }


Next Copyright © 2002 M. J. Dominus