in reply to printing to a scalar -- STDIN, STDOUT, STDERR

See IPC::Run3 or more flexible IPC::Run for alternatives
  • Comment on Re: printing to a scalar -- STDIN, STDOUT, STDERR

Replies are listed 'Best First'.
Re^2: printing to a scalar -- STDIN, STDOUT, STDERR
by Jack B. Nymbol (Acolyte) on May 28, 2009 at 03:01 UTC
    Yes I know about IPC, the real issue was to have anything that would go to FD 0,1,2 go to a scalar instead. Looking around I might be able to fiddle with the accumulator, $^A.

      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.