Hi all,
I'm new to Perl and have got it running on Windows 2000 professional with Apache
1.3.23.
I'm trying out some examples from a book and I'd always get this :
"Can't find string terminator "EndHTML" anywhere before EOF at XXX.cgi." when I run it
in my browser or when I do a perl-CW.
A snippet of the the code:
#!E:/perl/bin/perl
print "Content-type:text/html\n\n";
print <<EndHTML
<html><head><title>Hello!</title></head>
<body>
<h2>Hello!</h2>
Welcome, visitor from $ENV{'REMOTE_HOST'}!<p>
</body></html>
EndHTML
It seems like I'd always get this error when there's a EndHTML in the script. What
could the problem be? Is it due to a misconfiguration in Perl or rather the Apache?
Any help is deeply appreciated.
Dennis
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs