On Tue, 11 May 2004, Mark Fuller wrote: > It seems like there should be a way to express "TMPL_COMMENT"
<tmpl_if comment>....</tmpl_if> Then don't define "comment". Compare to the POD "=begin comment" convention which is very similar. > But, more importantly, it seems like something is missing in H::T > when I get something out of it vastly different than I expected and > I have *no* way to prevent it. I could collapse my H::T > statements. But, the resulting illegibility of the template would > (in my mind) only further demonstrate that something is missing. In my opinion, the problem is in your expectation. HTML::Template gives you back exactly what you put in the template, plus the variables and loops you defined in your Perl code. Nothing more, nothing less. If you want to clean or compress your HTML output you might be interested in HTML::Clean or one of the many Apache modules which address this problem. I consider this to be outside the scope of HTML::Template. -sam ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users