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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Returning values to Perl

Status
Not open for further replies.

PetePhillips

Programmer
May 31, 2004
2
GB
A Perl newbie asks :
1. If an application program invoked from Perl abends, is there a Perl system variable I can check to determine
the type of abend (eg zero-divide etc) ?

2. Cobol and C allow an application program to RETURN
a value to indicate un/successful completion.
How can I check this value in Perl ?

Thankyou.
 
the system() function returns the value of an external program

Mike

"Deliver me from the bane of civilised life; teddy bear envy."

Want to get great answers to your Tek-Tips questions? Have a look at faq219-2884

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top