Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How to copy files ?

by bradcathey (Prior)
on Sep 08, 2003 at 12:25 UTC ( [id://289749]=note: print w/replies, xml ) Need Help??


in reply to How to copy files ?

Agree with most, use File:Copy. It's as easy as:
use File::Copy; copy (from_path_file, to_path_file) or die "error: $!\n"; #can use "move" in place of "copy", and can rename file in process
But agree with Abigail, you need to brush up on your debugging.

Replies are listed 'Best First'.
Re: Re: How to copy files ?
by bh_perl (Monk) on Sep 10, 2003 at 08:30 UTC
    Hi,
    Thanks for your some ideas,
    After some changes here, I found that my problem is on IF statement.. they are not found any files in the particular directory although they are there...what happened on my script ? ... could some body give some ideas ?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-23 20:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found