Re: Comments

Robert Hicks <[email protected]> Wed, 07 Mar 2007 12:41:06 -0500
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
Michael Peters wrote:
> 
> Robert Hicks wrote:
>> In TT I can create a comment like:
>>
>> [%# This is a comment %]
>>
>> The benefit to that is that comment gets stripped out when the template 
>> is processed (i.e you don't see it if you source the HTML file from the 
>> browser window).
>>
>> Is there a way to create a filter in HT that does the same thing?
> 
> <tmpl_if never_going_to_use_this_var>
> # This is a comment
> </tmpl_if>
> 
Oh, I forget about stuff like that.

Robert


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV