Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: file copy undefined?

by FunkyMonk (Chancellor)
on Apr 14, 2009 at 16:12 UTC ( [id://757429]=note: print w/replies, xml ) Need Help??


in reply to file copy undefined?

In addtion to what others have told you, you should read the documentation for File::Copy, which says:
The copy function takes two parameters: a file to copy from and a file to copy to.
and a little later
An optional third parameter can be used to specify the buffer size used for copying.

You've got 3 parameters in your call: a filehandle and the names of two files (there's no need to quote variables, btw).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://757429]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 21:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found