Ma has asked for the wisdom of the Perl Monks concerning the following question:
#!C:\Perl\bin\perl.exe use strict; use warnings; use Diagnostics; use File::Copy; use Cwd 'chdir'; my $source = "d:/Perl/Daily" unless $source; my $dest = "d:/Perl/Daily" unless $dest; chdir "$source" or die "Dying - can't cd to $source: $!\n"; $date = "1104"; system("md $date"); copy("AddressDevCHUBldgProj.csv", "$source/1031/");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Files copying from source to dest
by Old_Gray_Bear (Bishop) on Nov 04, 2013 at 19:20 UTC | |
by Ma (Novice) on Nov 04, 2013 at 19:45 UTC | |
by keszler (Priest) on Nov 04, 2013 at 20:28 UTC | |
by Ma (Novice) on Nov 05, 2013 at 12:20 UTC | |
|
Re: Files copying from source to dest
by atcroft (Abbot) on Nov 04, 2013 at 19:24 UTC | |
by Ma (Novice) on Nov 05, 2013 at 12:19 UTC | |
|
Re: Files copying from source to dest
by pvaldes (Chaplain) on Nov 05, 2013 at 21:17 UTC |