Jeff Westman wrote:
Try:you probably don't want that first quotation mark before copy.
use strict;
use warnings;
...
my $returnValue = "copy("\\\\machine1\\share\\file1","\\\\machine2\\share\\file2");
unless ($returnValue) warn "Copy failed: $!";you could do it in one step as:
copy("\\\\machine1\\share\\file1","\\\\machine2\\share\\file2") or warn "Copy failed: $!";
(not tested)ditto =]
-JW
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]