http://qs321.pair.com?node_id=323148


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