in reply to Re^3: Confusion with finding strings in command output
in thread Confusion with finding strings in command output

Hmm, there is a misunderstanding. My point is that we have no idea about what output this line:
my @out = qx { command here 2>&1 };
produces, because we don't know what command here is. As an example, if "command here" if a shell find . -name ... -print ... command, it might very well produce successful lines as well as error lines.