in reply to Re^2: printing to a scalar -- STDIN, STDOUT, STDERR
in thread printing to a scalar -- STDIN, STDOUT, STDERR

the real issue was to have anything that would go to FD 0,1,2 go to a scalar instead.

Again, see IPC::Run3 and IPC::Run. That's exactly what the two modules allow you to do.

  • Comment on Re^3: printing to a scalar -- STDIN, STDOUT, STDERR