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";
In reply to Re: Re: Re: passing arguments to subroutine
by PrakashK
in thread passing arguments to subroutine
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |