Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use File::Copy; my $original_file = '\\serv123\logs\log1.txt'; my $new_file = "C:\Documents and Settings\user\desktop\newfile.log"; copy($original_file, $new_file) or die "Error: $!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is there a trick to read file from \\server?
by roboticus (Chancellor) on Aug 19, 2011 at 20:02 UTC | |
|
Re: Is there a trick to read file from \\server?
by ikegami (Patriarch) on Aug 19, 2011 at 21:00 UTC | |
|
Re: Is there a trick to read file from \\server?
by grantm (Parson) on Aug 20, 2011 at 07:15 UTC |