It depends. For throwaway scripts, I might put HTML inline using HEREDOCs, or I might embed a trivial HTML template after __END__. For anything other than throwaway, I tend to use HTML::Template, which allows the HTML to be edited separate from the code.
Two big problems with mixing HTML and code are:
In reply to Re: HTML In CGI Scripts.
by dws
in thread HTML In CGI Scripts.
by elam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |