logfh => *LOGFILE, #### my $fname = "/var/log/repeater.log"; open my $logfh, ">>", $fname or die "couldn't open '$fname': $!"; ... logfh => $logfh,