in reply to file copy
use File::Slurp; my $file_src = shift; my $file_dst = shift; write_file($file_dst, {'binmode' => ':raw'}, read_file($file_src, {'bi +nmode' => ':raw'}));
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: file copy
by tirwhan (Abbot) on Nov 28, 2007 at 15:33 UTC |