in reply to Best method to capture return code from system calls?
In my experiance with running sytem calls on SUN I have always built my command like this:
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);
SUNADMN
USE PERL
USE PERL
|
---|
In Section
Seekers of Perl Wisdom