nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

EOF not found

Von: George (romans5_8@earthlink.net) [Profil]
Datum: 24.08.2007 03:22
Message-ID: <13cscmko4i0t092@corp.supernews.com>
Newsgroup: alt.perl
I an trying to use the following text in a CGI perl script; but I keep
getting an error:

print sMail <<"EOMsg";
From: test\@test.net
To: test\@test.net
Subject: Data
Soon to hold data.
EOMsg
close(sMail);

The error is: Can't find string terminator "EOMsg" anywhere before EOF.

I am editing the cgi file from a Windows system but "use UNIX Line
endings" is turned on, so it should not be a line termination issue.
Just to be sure I transfered the file by ASCII mode to the server and
still receive the same issue.

Thanks

[ Auf dieses Posting antworten ]

Antworten