http://www.perlmonks.org?node_id=184155


in reply to File Copy

Can you be more specific? Are you looking for a module with particular features, or just a vanilla copy? If the latter, have you tried system()?

-fp

Update: See Ionitor's detailed example below.

Replies are listed 'Best First'.
Re: Re: File Copy
by amundb (Initiate) on Jul 22, 2002 at 17:55 UTC
    this would just be a vanilla copy of the file. I Tried the system call, but i counldn't get the syntax correct. I was looking for something along the lines of: system "copy $FileName \\somecomputer\folder\there\" how off am I on the syntax? Thanks for the help.
      If I remember correctly, the system function is of the form:
      system($command,$arg1,$arg2,...,$argN)
      So you might have better luck if you split up the command from the arguments. It's worth a try.