Try:
use strict;
use warnings;
...
my $returnValue =
"copy("\\\\machine1\\share\\file1","\\\\machine2\\share\\file2");
unless ($returnValue) warn "Copy failed: $!";
(not tested)
-JW
--- Saadat Saeed <[EMAIL PROTECTED]> wrote:
> I was just reading the File::Copy module. Now on a
> pure Win32 environment will this work
>
> copy("\\machine1\share\file1","\\machine2\share\file2");
>
> Or should I do something else???????
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]