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 ?