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

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello all, Just wondering if there is any way to build a log file of all the print statements within my script. Is there an easy way, or do I have to assign varible and appaend each print statement to the string, then write it to the log file?