Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: How to Trap exit code from system calls

by emjga1 (Novice)
on Jan 22, 2004 at 11:02 UTC ( #323148=note: print w/replies, xml ) Need Help??


in reply to Re: How to Trap exit code from system calls
in thread How to Trap exit code from system calls

Tom

Thanks , I had looked at $? but did not get the expected answers from it
and asumed I was doing somthing wrong.

But using
$exit_value  = $? >> 8;

Does just the job.

Thanks

Matt

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2021-12-07 18:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (34 votes). Check out past polls.

    Notices?