Keep It Simple, Stupid | |
PerlMonks |
Re^2: Code and html separation - always or mostly doable?by revdiablo (Prior) |
on Jun 16, 2004 at 17:36 UTC ( [id://367329]=note: print w/replies, xml ) | Need Help?? |
I can't validate my code in BBEDIT because it stumbles over all the H::T stuff. A bit frustrating HTML::Template allows you to put your TMPL_VAR, TMPL_LOOP, and other directives inside HTML comments, e.g. <!-- TMPL_VAR NAME=foo --> is the same as <TMPL_VAR NAME=foo>. Unless your HTML editing tool mangles comments, this should allow you to have your cake and eat it too. HTH
In Section
Seekers of Perl Wisdom
|
|