http://www.perlmonks.org?node_id=496632


in reply to Alternate template syntax for HTML::Template?

You can use <!--TMPL_VAR NAME=PARAM-->, so the code will still validate as HTML. However, this throws errors with HTMLTidy if the parameter in question is an attribute of an HTML tag (<meta name="keywords" content="<!--TMPL_VAR NAME="KEYWORDS"-->" />), so I'm not sure how much of an advantage this more verbose syntax is.