in reply to Printing to multiple file handles with one request

I usually use a sub, like tadman explains.

But, if you have code that writes to a single file already, you can retrofit by using a tie'd file handle. Just implement the WRITE, PRINT, and PRINTF hooks to send to your multiple sources.

  • Comment on Re: Printing to multiple file handles with one request