go ahead... be a heretic | |
PerlMonks |
Re: Alternate template syntax for HTML::Template?by polypompholyx (Chaplain) |
on Oct 01, 2005 at 12:28 UTC ( [id://496632]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|