Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Capturing both STDERR and STDOUT without shell redirect

by BioLion (Curate)
on Aug 06, 2009 at 13:21 UTC ( [id://786420]=note: print w/replies, xml ) Need Help??


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.

Just a something something...
  • Comment on Re: Capturing both STDERR and STDOUT without shell redirect

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://786420]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-19 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found