Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 musing on the Monastery: (5)
As of 2014-08-21 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls