gnu@perl has asked for the wisdom of the Perl Monks concerning the following question:
What I was wondering is if I could use one print statement and specify multiple file handles to direct the print to?
I do realize that I could put the file handles into and array and loop over it, but I want to know if there is truly a way to do it with one execution of one command. Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Printing to multiple file handles with one request
by tadman (Prior) on Nov 19, 2002 at 15:36 UTC | |
by gnu@perl (Pilgrim) on Nov 19, 2002 at 15:42 UTC | |
|
Re: Printing to multiple file handles with one request
by RMGir (Prior) on Nov 19, 2002 at 15:35 UTC | |
|
Re: Printing to multiple file handles with one request
by John M. Dlugosz (Monsignor) on Nov 19, 2002 at 15:53 UTC | |
|
Re: Printing to multiple file handles with one request
by jdporter (Paladin) on Nov 19, 2002 at 19:17 UTC |