Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 186
  • Last Modified:

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
0
Bala123
Asked:
Bala123
1 Solution
 
martinagCommented:
Could you post the code so that we might have a look at it?

Martin
0
 
coxCommented:
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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now