to (update: fixed typo per reply):my $tee = new IO::Tee(\*STDOUT, new IO::File(">>$config::logfile"));
my $fh = IO::File->new(">>$config::logfile") or die "Failed to open $c +onfig::logfile: $!"; my $tee = IO::Tee->new(\*STDOUT, $fh) or die "Failed to create tee: $! +";
In reply to Re^5: Undefined Value as Symbol reference
by runrig
in thread Undefined Value as Symbol reference
by PilotinControl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |