Next Program Repair Shop 37

CopyFiles

        sub CopyFiles {
            my $dir = shift;
            foreach $file (@_) {
              next if $file !~ /\d/;
              next if $file !~ /\.txt$/;
              my $command = "cp $dir/$file $dir/$NextOut/$file";
              system($command);
              print "$command\n";
            }
        }


Next Copyright © 2002 M. J. Dominus