http://www.perlmonks.org?node_id=155843


in reply to easy file copy

Easier (and safer) than the following?

use File::Copy; copy($input, $output) or die "Error copying '$input' to '$output': $!";

-ben