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.
In reply to Re: Can't find string terminator "end_of_html" anywhere before EOF at jsdisp.cgi line 37.
by dorward
in thread Can't find string terminator "end_of_html" anywhere before EOF at jsdisp.cgi line 37.
by gvs_jagan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |