--- Dan Muey <[EMAIL PROTECTED]> wrote:
> > Try:
> >
> > use strict;
> > use warnings;
> > ...
> > my $returnValue =
> > "copy("\\\\machine1\\share\\file1","\\\\machine2\\share\\file2");
> ^ I think that quote will cause problems.
>
> Have you tried single quotes also? That way you don't have to worry about
> properly escaping the \.
>
> copy('\\machine1\share\file1','\\machine2\share\file2') or die "Copy
> failed $!";
>
> Just a thought
That won't work if the write decides that "file1" should be a variable
instead. Just a thought :-/
>
> Dmuey
>
-JW
__________________________________
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]