Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Re: Redirecting STDOUT

by mt2k (Hermit)
on Jun 15, 2002 at 04:20 UTC ( [id://174790]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use IO::Scalar;
    my ( $STD1 $STD2 );
    ...
    open FILE, ">test.txt";
    print FILE $STD2;
    close FILE;
    
  2. or download this
    open FILE, ">test.txt";
    select FILE;
    ...
    print <<DONE;
    all that stuff again. I am
    DONE
    

Log In?
Username:
Password:

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

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

    No recent polls found