Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re: Re: need both from system-call

by hdp (Beadle)
on Apr 27, 2001 at 16:20 UTC ( [id://76048] : note . print w/replies, xml ) Need Help??

in reply to Re: need both from system-call
in thread need both from system-call

As perlvar documents, $? is "just the 16-bit status word returned by the wait() system call (or else is made up to look like it). Thus, the exit value of the subprocess is really ('$? >> 8')". It looks like perl thinks the exit value it got was 100.