I.e. if the error code from set is anything but zero, stop running and show me the external program error code ($?). Use the full path to make sure that you're running the right thing. Also, the current directory may or may not be in your path.system ("/full/path/to/set") == 0 or die "Cannot run set:$?";
In reply to Re: Run shell script in perl
by helgi
in thread Run shell script in perl
by sandy1028
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |