perl cgi not working

Simple perl cgi with hello.pl is not working.
The file in in cgi-bin of appache server.
Then why It says Strint terminated before end of file
Bala123Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
coxConnect With a Mentor Commented:
use this:

print "Content-type:/text/html\n\n";

print<<EOF;
<HTML>
<BODY>
<H1> Hello World </H1>
</BODY>
</HTML>
EOF

Take off the "  ; " at last line...
  ;))
0
 
martinagCommented:
Could you post the code so that we might have a look at it?

Martin
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.