Something like:
(Not tested, usual disclaimers apply.)my $return_code = system(...); if ($return_code) { $return_code /= 256; Die(... "Return Code from system() was $return_code" ...); }
----
I Go Back to Sleep, Now.
OGB
In reply to Re: Do and Die
by Old_Gray_Bear
in thread Do and Die
by jimbus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |