http://www.perlmonks.org?node_id=547436


in reply to Re: best practices for checking system return values for piped commands?
in thread best practices for checking system return values for piped commands?

"true" is a great choice to illustrate my test, as it is a great example of an utility which "succeeds" even with no input piped to it.