Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Answer: how do i redirect STDOUT, STDIN, or STDERR to a FILE?

by perlmonkey (Hermit)
on May 11, 2000 at 07:02 UTC ( #11103=categorized answer: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    use IO::Handle;
    ...
    # prints to error.txt:
    warn "Hello Error File\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[ambrus]: choroba: cbstream alternates between the three direct IP addresses, without hostname, and switches to the next immediately at the first slowdown or error. this heuristic seems to help.
[choroba]: ambrus But pm-cb-g need sto stay logged in
[Discipulus]: infact my tk client is unable to connect at the moment

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2017-10-24 11:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (289 votes). Check out past polls.

    Notices?