in reply to How to copy files ?
a quick look at perldoc perlfunc or perldoc.com suggests that there is no built-in copy function in perl
Limbic~Region wisely suggests File::Copy which is a core module. (You won't have to install it) and nicely returns (1) on success, (0) on failure and stuffs something useful int $!
Other people tend to do stuff like:
use strict; system('cp','/path/to/file1','path/to/file2'); my $err_num=$?>>8; die "bad copy num:$err_num\n" if $err_num;
email: mandog
In Section
Seekers of Perl Wisdom