But there is a better way of doing this and that would be using File::Copy take a look at that.my $cpcmd = '/bin/cp'; system($cpcmd $curfile $newfile);
In reply to Re: Best method to capture return code from system calls?
by sunadmn
in thread Best method to capture return code from system calls?
by bwelch
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |