Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: What is the easiest way to copy one file to another?

by ar0n (Priest)
on Oct 31, 2001 at 00:55 UTC ( [id://122196]=note: print w/replies, xml ) Need Help??


in reply to What is the easiest way to copy one file to another?

Use File::Copy, it's part of the standard library:
use File::Copy; copy("/path/to/old", "/path/to/new");

[ ar0n ]

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (6)
As of 2024-04-23 13:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found