Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2017-06-25 19:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (569 votes). Check out past polls.