Can't find string terminator "EOF" anywhere before EOF at /export/home/egate/Per l_Development/monitor_log.pl line 49. #### open(SENDMAIL, "|/usr/lib/sendmail -oi -t -odq") or die "Can't fork for sendmail: $!\n"; print SENDMAIL <<"EOF"; From: User Originating Mail To: Final Destination Subject: A relevant subject line Body of the message goes here, in as many lines as you like. EOF close(SENDMAIL) or warn "sendmail didn't close nicely"; Can't find string terminator "EOF" anywhere before EOF at /export/home/egate/Per l_Development/monitor_log.pl line 49.