Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Capture Perl script exit status

Status
Not open for further replies.

CJason

Programmer
Joined
Oct 13, 2004
Messages
223
Location
US
I need to capture the exit status of my perl script. I used exit(0) for success and exit(1) for failure. However, exit(1) aborts everything and I'm not able to check the status.

By the way, did I mention that I'm on OpenVMS!?!?!?

Thanks in advance!
 
Nevermind...I found the problem. It's actually controlled OUTSIDE the perl script (i.e., it's a VMS thing). Please disregard this posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top