in reply to Re: Use of uninitialized value in openin thread Use of uninitialized value in open
I suspect the web version didn't have "my $LOGFILE;".
It's using an old syntax you'd best avoid in favour of the one Corion showed.