You want exit. I'd do it like this,
my %exit_code = { PASSED => 0, FAILED => 1, ABORTED => 2 ); # ... exit $exit_code{$STATUS};
After Compline,
Zaxo
In reply to Re: Getting return code to shell
by Zaxo
in thread Getting return code to shell
by han_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |