The following line of code were executed immediately after the system() and produced the out put below:
#CODE
$exit_value = $? >> 8;
$signal_num = $? & 127;
$dumped_core = $? & 128;
print "$?\n";
print "$exit_value\n";
print "$signal_num\n";
print "$dumped_core\n";