We don't bite newbies here... much | |
PerlMonks |
Re: Capturing both STDERR and STDOUT without shell redirectby BioLion (Curate) |
on Aug 06, 2009 at 13:21 UTC ( [id://786420]=note: print w/replies, xml ) | Need Help?? |
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.
Just a something something...
In Section
Seekers of Perl Wisdom
|
|