Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Is it possible to write to 2 files, eg. print LOGFILE,TEMP 'hello'?

by belg4mit (Prior)
on Sep 26, 2003 at 14:58 UTC ( [id://294449]=note: print w/replies, xml ) Need Help??


in reply to Is it possible to write to 2 files, eg. print LOGFILE,TEMP 'hello'?

IO::Tee
  • Comment on Re: Is it possible to write to 2 files, eg. print LOGFILE,TEMP 'hello'?

Replies are listed 'Best First'.
Re: Answer: Is it possible to write to 2 files, eg. print LOGFILE,TEMP 'hello'?
by princepawn (Parson) on Sep 26, 2003 at 18:11 UTC
    how about
    print $_ "hello" for (\*TEMP, \*LOGFILE);

    Carter's compass: I know I'm on the right track when by deleting something, I'm adding functionality.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-20 01:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found