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

Re: Can't capture STDERR to Variable

by Skeeve (Vicar)
on Jul 22, 2011 at 07:11 UTC ( #916071=note: print w/ replies, xml ) Need Help??


in reply to Can't capture STDERR to Variable

Thanks to all of you!

Capture::Tiny looks promising and I will consider it for a rewrite of my script.

For my task at hand, merging STDOUT and STDERR with "2>&1" is sufficient, but I don't like it as a "solution". I think it is just a workaround.

And to answer moritz' Question: Yes! ls is just an example. The real program I call is openssl.


s$$([},&%#}/&/]+}%&{})*;#$&&s&&$^X.($'^"%]=\&(|?*{%
+.+=%;.#_}\&"^"-+%*).}%:##%}={~=~:.")&e&&s""`$''`"e


Comment on Re: Can't capture STDERR to Variable
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (19)
As of 2015-07-01 15:30 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 (6 votes), past polls