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

Q&A > files > Is it possible to write to 2 files, eg. print LOGFILE,TEMP 'hello'? - Answer contributed by belg4mit

IO::Tee