in reply to Values returned to Perl
For properties of $?, see perlvar.
You can also work directly with the value returned by system, or array context wait/waitpid, if you have forked the process.
After Compline,Zaxo