Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Best method to capture return code from system calls?

by dave_the_m (Parson)
on Aug 24, 2005 at 14:52 UTC ( #486216=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    system(...);
    if ($? == -1) {
    ...
    else {
        printf "child exited with value %d\n", $? >> 8;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://486216]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-05-30 19:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (599 votes), past polls