in reply to Re: Printing both to console and Filein thread Printing both to console and File
It so happens that the example that contains the answer to your question is in the example section of IO::Tee's documentation.
Edit: wait, you already use the \*STDOUT notation in your OP, I must be misunderstanding your question.