Html2perl takes an HTML file (or any ASCII text file) specified on the command line (or from standard input) and produces a series of perl print statements on the standard output. Certain "bad" characters ( \"'@%#.:&! ) which cause problems if passed directly into the body of a print statement are escaped.
Install html2perl if you need to insert large, complicated HTML documents into your CGI perl scripts.
