Help for this page
untie *STDOUT; $log = tie(*STDOUT, 'module_name', "logfile_name") ... . . .
open STDOUT, ">>$logfile"; open STDERR, ">&STDOUT";