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

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.
  • Comment on Re^2: printing to a scalar -- STDIN, STDOUT, STDERR

Replies are listed 'Best First'.
Re^3: printing to a scalar -- STDIN, STDOUT, STDERR
by ikegami (Patriarch) on May 28, 2009 at 03:07 UTC

    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.