in reply to Re^4: Undefined Value as Symbol reference
in thread Undefined Value as Symbol reference

How about changing:
my $tee = new IO::Tee(\*STDOUT, new IO::File(">>$config::logfile"));
to (update: fixed typo per reply):
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: $! +";

Replies are listed 'Best First'.
Re^6: Undefined Value as Symbol reference
by PilotinControl (Pilgrim) on Mar 07, 2014 at 19:36 UTC

    That worked better after I added a double quote to the first line. Thanks!