in reply to Capturing both STDERR and STDOUT without shell redirect
I was wondering about something similar a while back ( capture output from another program ) and I found Capture::Tiny very useful, but i think IO::Capture might also fit the bill for you, but isn't as simple.
Capture::Tiny, much like IPC::Open3, also allows you to keep the streams separate if you want to do that for any reason, though i have to say that for sheer out of the box use-ability Capture::Tiny is my favourite.
|
|---|