in reply to Re: Perl 5.10.1 - compare external program output with a list of known error codes
in thread Perl 5.10.1 - compare external program output with a list of known error codes

You did not specify that you were getting a whole screenful of output. My understanding was that you were receiving a single line like you had in your original post.

For my example code to work, you have to extract *just* that piece and use it.

  • Comment on Re^2: Perl 5.10.1 - compare external program output with a list of known error codes