Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by belg4mit (Prior)
on Sep 26, 2003 at 14:58 UTC ( #294449=categorized answer: print w/replies, xml ) Need Help??

Q&A > files > Is it possible to write to 2 files, eg. print LOGFILE,TEMP 'hello'? - Answer contributed by belg4mit

  • Comment on Answer: 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
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2020-11-27 23:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?