The return code is available in the 16-bit $? variable. For example:
For more details, see system et al, as suggested by davorg.system('perl -e "exit 42"'); my $rc = $? >> 8; print "return code=$rc\n";
In reply to Re: Call one Perl Script from another
by eyepopslikeamosquito
in thread Call one Perl Script from another
by Bucchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |