Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Can't capture STDERR to Variable

by salva (Canon)
on Jul 21, 2011 at 10:21 UTC ( [id://915825]=note: print w/replies, xml ) Need Help??


in reply to Can't capture STDERR to Variable

Use Capture::Tiny or some other similar module.

File handles opened to scalar references can not be used outside the Perl process where they were created (and even then, most modules wrapping external C libraries will also fail to recognize them as valid file handles).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-24 03:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found