Solved

perl cgi not working

Posted on 1998-12-25
2
170 Views
Last Modified: 2013-12-25
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
Comment
Question by:Bala123
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 4

Expert Comment

by:martinag
ID: 1830290
Could you post the code so that we might have a look at it?

Martin
0
 
LVL 1

Accepted Solution

by:
cox earned 50 total points
ID: 1830291
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need help modifying a script to help search for files with specific values in names 22 55
SSRS - Powershell 7 80
PowerCLI Command For Guest VM Boot Time 1 35
Ruby or Python 7 130
In this tutorial I will focus on how to use WhizBase as a tool for sending ICQ messages to ICQ. Here I will use a new technology in WhizBase, published in WhizBase 5.1 version. In this tutorial I will use 3 files, pager.wbsp for the processing, e…
I hope you'll find this tutorial useful and interesting. So let's try to extend Tcl with a new package.  For anyone more deeply interested please check out the book "Practical Programming in Tcl and Tk". It's really one of the best written books abo…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question