Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: STDOUT, STDERR sniffer

by hbo (Monk)
on Jul 21, 2004 at 05:12 UTC ( #376161=note: print w/ replies, xml ) Need Help??


in reply to STDOUT, STDERR sniffer

Or, if you don't mind combining stdout and stderr, you can just do:

$output= `command 2>&1`;
"Even if you are on the right track, you'll get run over if you just sit there." - Will Rogers


Comment on Re: STDOUT, STDERR sniffer
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (17)
As of 2015-07-29 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls