exit the debugger with a non-zero return code

From: Paul Faulstich (pfaulstich_at_llbean.com)
Date: 01/27/04

  • Next message: Barti: "how to do that"
    Date: 27 Jan 2004 10:36:16 -0800
    
    

    How can one exit the debugger with a non-zero return code?

    My perl script is called from another program which checks the return
    code. When I run it through the perl debugger, the debugger exits
    with a zero for its return code even if my script calls exit with a
    non-zero value. How can I pass the value from my script on when I
    quit from the debugger?

    Thanks,

    Paul Faulstich
    pfaulstich@llbean.com
    L.L. Bean, Inc.


  • Next message: Barti: "how to do that"

    Relevant Pages