in reply to i got error cannot find string terminator "HTML" anywhere before EOF
Welcome to the Monastery. Please don't ignore posting advice. Read and understand:
There is no such thing as PERL (see Re^3: Writing to Spreadsheets in PERL...). You've posted a script with no description of any problems you're having. Your script should have:
use strict; use warnings;
You should read Ovid's CGI Course - Resurrected and Updated! as well as some of Web Programming from the tutorials section of this site.
Update: You've changed the post title.
Update 2: Looks like a problem with your here-document: Quote and Quote-like Operators. END_OF_PRINT should be HTML. Consider using something like HTML::Template to separate your HTML/JavaScript from your Perl code.
Update 3: You have:
# Print HTTP Header print &PrintHeader;
This isn't part of CGI and doesnt exist in the code you've posted. See 'Creating a standard HTTP header' in the CGI documentation.
|
|---|