Well, as a shell programmer you could have guessed it:
exit <statuscode>see perlfunc exit
your shell code may look like:regards,$my_perl_exec myprog.pl arg1 arg2 arg3 if [ "${?}" -eq "<exitcode1>" ] then blahblah else xxyyzz fi
In reply to Re: Returning from a program
by Tomte
in thread Returning from a program
by peschkaj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |