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