dshaw21369 has asked for the wisdom of the Perl Monks concerning the following question:
Not sure where I need to make a change I got this from the Perl cookbook.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 <me\@host> To: Final Destination <you\@otherhost> 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.
update (broquaint): added <code> tags
update 2 (broquaint): title change (was Perl Error)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(z) Re: Perl Error
by zigdon (Deacon) on Nov 27, 2002 at 17:48 UTC | |
|
Re: Perl Error
by tachyon (Chancellor) on Nov 27, 2002 at 18:08 UTC | |
by Anonymous Monk on Jul 07, 2004 at 18:30 UTC |