use constant { PASSED => 0, FAILED => 1, ABORTED => 2, }; # then use: exit PASSED; exit FAILED; #etc
In reply to Re^2: Getting return code to shell
by meetraz
in thread Getting return code to shell
by han_perl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |