now this???

Can't find string terminator "end_of_page" anywhere before EOF at customgame.pl line 
27. 

came from:

#!/usr/bin/perl -w
use CGI::Carp qw(fatalsToBrowser);
#howdy
use CGI qw(param);

print<<end_of_html_start;
content-type: text/html

<html><head>
<title>customgame</title>
</head>
<body>
end_of_html_start

$guess = param("guess");
$name = param("name");
if ($name eq "") {
print ("hello there, please enter name here:<form method=post 
action=customgame.pl><input type=text name=name><input type=submit 
value=enter></form>");
} elsif ($name eq "randal") {
print ("hi, since you're $name , you do not have to guess the secret word!");
}
else {
print ("your not randal, so you have to guess the secret word:<form method=post 
action=customgame.pl><input type=text name=guess><input type=submit 
value=enter></form>");
print ("hello there, please enter another name here:<form method=post 
action=customgame.pl><input type=text name=name><input type=submit value=enter>");
}

print<<end_of_page;
</body>
</html>
end_of_page





----- Original Message ----- 
From: "Mel Matsuoka" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 11:27 AM
Subject: Re: error info...


> At 05:17 PM 07/19/2001 -0400, bc wrote:
> >here is the error:
> >
> >Execution of customgame.pl aborted due to compilation errors.
> >
> 
> Have you tried to run your script from the commandline using -w and 'use
> strict' ?
> 
> I just did, and it spewed back a ton of syntax errors and other
> strict-related problems.
> 
> I can tell you one thing though, elseif is NOT elsif ;)
> 
> Try it for yourself and see what you come up with.
> 
> aloha,
> mel 
> 
> --
> mel matsuoka                      Hawaiian Image Productions
> Chief Executive Alphageek                (vox)1.808.531.5474
> [EMAIL PROTECTED]                    (fax)1.808.526.4040
>                      
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to