Re: Comments
Mathew Robertson <[email protected]> Thu, 08 Mar 2007 08:43:08 +1100
| Newsgroups | gmane.comp.lang.perl.modules.html-template |
|---|---|
| Organization | Nielsen//NetRatings |
| Message-ID | <[email protected]> |
There is a performance hit, but only at template-parse time. ie: if you use caching there is no performance hit. Mathew Dan Horne wrote: > One way is to use H::T filters. You could have something like <rem> and > </rem> in your code, and use the filter functionality to remove the tags and > enclosed content. There will be a performance hit - it works okay for me but > YMMV > > Dan > > >> -----Original Message----- >> From: [email protected] >> [mailto:[email protected]] On >> Behalf Of Robert Hicks >> Sent: Thursday, 8 March 2007 5:41 a.m. >> To: [email protected] >> Subject: [htmltmpl] Comments >> >> 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? >> >> >> 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 > >> _______________________________________________ >> Html-template-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/html-template-users >> >> > > > ------------------------------------------------------------------------- > 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 > _______________________________________________ > Html-template-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/html-template-users > ------------------------------------------------------------------------- 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 _______________________________________________ Html-template-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/html-template-users