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

From perldoc perlop:

The terminating string must appear by itself (unquoted and with no surrounding whitespace) on the terminating line.

Don't indent your terminator.

Better yet, ditch your here-doc and use a nice templating system (such as Template or HTML::Template) instead.

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