in reply to
Print to the screen and a log at the same time?
How about
IO::Tee
? There was a discussion of issues like yours in this node:
Need Help: Capture STDOUT without Redirecting
.
Phil
Comment on
Re: Print to the screen and a log at the same time?
In Section
Seekers of Perl Wisdom