Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 lurking in the Monastery: (6)
As of 2014-12-22 02:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls