Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Redirecting STDOUT and standard error to file

by /dev/luser (Acolyte)
on Sep 09, 2005 at 10:19 UTC ( [id://490501]=note: print w/replies, xml ) Need Help??


in reply to Redirecting STDOUT and standard error to file

The Perl Cookbook has a nice recipe to copy filehandles. For example:
open (COPYOUT, ">&STDOUT"); open (COPYERR, ">&STERR");
This book is *highly* recommended :-)
HTH

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found