Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Recursively changing STDOUT

by casiano (Pilgrim)
on Sep 16, 2007 at 12:20 UTC ( [id://639244]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $log = ...;
      my $err = ...;
    ...
    
      open(SAVEERR, ">&STDERR") or die ...
      open(STDERR,"> $err") or die ..
    
  2. or download this
      open(STDOUT, ">&SAVEOUT");
      open(STDERR, ">&SAVEERR");
    
  3. or download this
      open(STDOUT, ">&$SAVEOUT");
      open(STDERR, ">&$SAVEERR");
    

Log In?
Username:
Password:

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

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

    No recent polls found