Help for this page

Select Code to Download


  1. or download this
    sub moving {
        print "Moving $_ to the K:/ATM \n";
        move("$old$_","$new$_$date");
    ...
    foreach (@files) {
        &moving;
    }
    
  2. or download this
    foreach (@files) {
        print "Moving $_ to the K:/ATM \n";
        move("$old$_","$new$_$date");
        print "$_ has been moved to the K:/ATM\n";
        print "---------------------------------------------\n";
    }
    
  3. or download this
    foreach my $file (@files) {
        print "Moving $file to the K:/ATM \n";
        move("$old$file","$new$file$date");
        print "$file has been moved to the K:/ATM\n";
        print "---------------------------------------------\n";
    }