in reply to Re^6: Using IO::CaptureOutput in a child process to caputre STDOUT and STDERR
in thread Using IO::CaptureOutput in a child process to caputre STDOUT and STDERR

Yes, & is Perl bitwise operator. I consider it bad form to "AND" a constant with itself. Omit the &.

FWIW, doing/advising something without understanding the reasons is called cargo-culting.

As Eliya eloquently explained, bad style is not the same as wrong syntax :)

  • Comment on Re^7: Using IO::CaptureOutput in a child process to caputre STDOUT and STDERR