Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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.

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?
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?
LanX has the same problem with English accents ...
[LanX]: Will Cartesian Products still be tarif free after Brexit?
LanX ... though he can't lift more than one grown up at a time
[Corion]: :-D

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2017-01-18 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (161 votes). Check out past polls.