Exception-Class - How to Control Exit Values?

Posted on Fri Feb 24 20:30:23 2006 by je44ery
How to Control Exit Values?
Now that I am using Exception::Class to throw exceptions, when my programs halts suddenly due to one of these exceptions, I notice that the exit value is 0, which means that all went OK. I still have a program harness that looks at exit values to perform control operations. How do I set what the exit value will be when my thrown exceptions cause a program halt? Thanks.
Direct Responses: 1851 | Write a response