Is there a way to pass this out to unix as a bad status
Use exit:
$ perl -e'exit 42'; echo $? 42
and retain the parsing errors generated in my example?
I don't understand this. Aren't errors being written to the ksh log? If you mean to retain the errors within the program, there's no much point in that since if you exit, the program will not be running anymore :^).
--
David Serrano
In reply to Re: Returning a bad status back to the parent UNIX process
by Hue-Bond
in thread Returning a bad status back to the parent UNIX process
by JimRobinson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |