Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Can't find string terminator "end_of_html" anywhere before EOF at jsdisp.cgi line 37.

by Roger (Parson)
on Aug 15, 2005 at 13:07 UTC ( #483840=note: print w/ replies, xml ) Need Help??


in reply to Can't find string terminator "end_of_html" anywhere before EOF at jsdisp.cgi line 37.

The source of your problem has been pointed out so I am not going to comment on it.

A couple of suggestions:

1) Use the CGI module properly. Use the provided functions such as start_html, end_html, a(), popup_menu, etc...

use CGI qw/ :all /; ... print start_html(-title=>'Job Status Display Page'), 'Select year and month.', br(), p( a({href=>"/jsdisp.html"}, "Back") ), end_html(), "\n";
2) Have a look at tools such as HTML::Mason and Template::Toolkit. These are well proven modules for doing web programming quick and effectively.


Comment on Re: Can't find string terminator "end_of_html" anywhere before EOF at jsdisp.cgi line 37.
Download Code
Re^2: Can't find string terminator "end_of_html" anywhere before EOF at jsdisp.cgi line 37.
by bradcathey (Prior) on Aug 15, 2005 at 13:27 UTC

    Good points! But don't forget the easy-to-use HTML::Template, a PM favorite.


    —Brad
    "The important work of moving the world forward does not wait to be done by perfect men." George Eliot
Template::Toolkit Vs. Template-Toolkit
by dorward (Curate) on Aug 15, 2005 at 19:54 UTC

    Template::Toolkit doesn't actually exist (I used to make this mistake until somebody corrected me). Template-Toolkit is based about the Template module.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://483840]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2014-07-14 05:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (255 votes), past polls