On Tue, 09 Jun 2009 16:16:41 +1000, Irfan Sayed <irfan_sayed2...@yahoo.com> wrote:

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

Try putting the HI at the start of the line.


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.
 
please adivce
 
Regards
Irf





--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to