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
|
---|
In Section
Seekers of Perl Wisdom