> Hi ALL, > > i have written sample cgi script in perl. here it is > > #!/usr/bin/perl > print "Content-type: text/html\n\n"; > print <<HI; > <HTML> > <HEAD> > <TITLE>Welcome to CGI scripting </TITLE> > </HEAD> > </HTML> > HI > > but when i am trying to execute this script it throws me an error like > > Can't find string terminator "HI" anywhere before EOF at ./test1 line > 5.
I think the HI has to aligned to the left, eg, print <<HI; <HTML> <HEAD> <TITLE>Welcome to CGI scripting </TITLE> </HEAD> </HTML> HI try that -- Owen -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/