Posted on 2006-02-24 18:30:23-08 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
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.