Hello guys, I've decided to try out the CGI and failed at the simplest possible example. I've found a simple Perl CGI "hello world" program but copy pasted the code to see what would happen and got an error. Also, I'm using Eclipse IDE with EPIC plugin. This is the code:
print "Content-type: text/html\n\n";
<title>A Simple Perl CGI</title>
<h1>A Simple Perl CGI</h1>
As you see, it's as simple as it gets, but I get the error "Can't find string terminator "HTML" anywhere before EOF". There is HTML written right before "exit;" and I don't know what's wrong. Can anyone help me?