in reply to When is a logical or not logical
I'm going to work under the assumption that you have a copy/paste error in the code you posted, but...
you desperately need a " to finish off the logfile name in the open statement...open (LOGFILE, "$logfile) || die "Can't open $logfile: $!";
|
---|
In Section
Seekers of Perl Wisdom