Trouble printing HTML with Perl - TechRepublic
General discussion
August 15, 2002 at 04:49 AM
nihil_angst

Trouble printing HTML with Perl

by nihil_angst . Updated 23 years, 10 months ago

I get the following error message when I try to run the script below: “Your script produced this error: Can’t find string terminator ‘ENDHTML’ anywhere before EOF at ./HTML.cgi line 8. ”

What do I need to do in order to make this script run? Thanks in advance for any help you can give.

——————————————–

require TripodCGI;
$CGI = TripodCGI;

$firstName = $CGI->param(‘firstName’);
$lastName = $CGI->param(‘lastName’);
$Age = $CGI->param(‘Age’);
print “Content-type: text/html\n\n”;
print <

CGI Test

Welcome!

We’re glad to see you $firtName, members of the $lastName family are always welcome here. It’s hard to believe that you’re already $Age years old. My how time flies.

This discussion is locked

All Comments