Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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
Replies are listed 'Best First'.
Re: Return codes to calling program
by Happy-the-monk (Abbot) 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?

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2015-10-09 22:38 GMT
Find Nodes?
    Voting Booth?

    Does Humor Belong in Programming?

    Results (253 votes), past polls