my $retval = $? >> 8; [download]
In reply to Re^2: Capturing both STDOUT, STDERR and exit status by greenmoss in thread Capturing both STDOUT, STDERR and exit status by pbeckingham