nagalenoj has asked for the wisdom of the Perl Monks concerning the following question:
How could I write the same content in 2(or more) handles? I've a script where I want to write the same content to a file handle and a socket.
some thing like., print <more than one file handle> "Hello world";
what is the way to go?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: writing in 2 handles
by Corion (Patriarch) on May 14, 2010 at 07:06 UTC | |
Re: writing in 2 handles
by cdarke (Prior) on May 14, 2010 at 08:27 UTC | |
Re: writing in 2 handles
by ambrus (Abbot) on May 14, 2010 at 10:20 UTC | |
Re: writing in 2 handles
by Marshall (Canon) on May 16, 2010 at 22:02 UTC |
Back to
Seekers of Perl Wisdom