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

Re: Capturing both STDERR and STDOUT without shell redirect

by Narveson (Chaplain)
on Aug 06, 2009 at 21:31 UTC ( [id://786598]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        open my $log_writer, '>>', $log_file;
        *STDOUT = $log_writer;
        *STDERR = $log_writer;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-04-25 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found