[EMAIL PROTECTED] (Aman Raheja) writes:
> Hi all
> I am runnibg PERL programs on a linux box.
> Is there a straight way to copy one file on the system to a different 
> location, other that opening one file and writing it to another?
> Thank you
> Aman

use File::Copy;

copy $origfile => $destfile or die "Can't copy: $!\n";

--Bill.

-- 
William R Ward            [EMAIL PROTECTED]          http://www.wards.net/~bill/
-----------------------------------------------------------------------------
     If you're not part of the solution, you're part of the precipitate.

Reply via email to