http://www.perlmonks.org?node_id=951474


in reply to How to replicate data sent to a Perl stream on windows

IO::Tee? Tee? PerlIO::tee?

Though any decent logging framework ought to support this natively