Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Return codes to calling program

by wizzard (Initiate)
on Jul 07, 2004 at 10:07 UTC ( #372335=perlquestion: print w/ replies, xml ) Need Help??
wizzard has asked for the wisdom of the Perl Monks concerning the following question:

I am wanting to write a perl script that will be initiated by Connect Direct software and I want to pass back a return code to that when the script exits. is there any way this can be done and if so, HOW ? Thanks.

Comment on Return codes to calling program
Re: Return codes to calling program
by Happy-the-monk (Monsignor) on Jul 07, 2004 at 10:10 UTC

    Give your return code as the parameter to the   exit   call, it will be passed on to the calling programme.

    See   perldoc -f exit

    Cheers, Sören

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://372335]
Approved by Happy-the-monk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2014-09-20 02:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (152 votes), past polls