Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: It's friday

by Boogman (Scribe)
on Jul 15, 2000 at 23:01 UTC ( [id://22720]=note: print w/replies, xml ) Need Help??


in reply to It's friday, I can't think.

You can also alias STDOUT to point to a file using typeglobs.

open FILE, ">>file.txt" or die "Couldn't open file";<BR> *TEMP = *STDOUT;<BR> *STDOUT = *FILE;<BR> print STDOUT "I go to the file now...\n";<BR> *STDOUT = *TEMP;<BR>
just got to be careful that you're not obliterating anything in the process...

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-03-28 10:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found