in reply to Re: Re: passing arguments to subroutine
in thread passing arguments to subroutine
To:system("cp -fRp $dir/controlpanel") or die "Problems copying dir : $!\ +n";
system returns the exit status of the program being run, and the programs conventionally return 0 (zero) on success.system("cp -fRp $dir/controlpanel") == 0 or die "Problems copying dir +: $!\n";
|
|---|