in reply to Returning from a program
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
tomte
|
---|
In Section
Seekers of Perl Wisdom