in reply to Re^2: mod_perl and $?in thread mod_perl and $?
Also useful to know is that $? is reset on each wait or pipe close, overwriting the old value.