In reply to Re^2: Capturing the stdout and exit code from a program piped to perl by Anonymous Monk in thread Capturing the stdout and exit code from a program piped to perl by pattyj