Quoting Peter Scott <[EMAIL PROTECTED]>: > This is arguably not a HTML::Template question but since not many > people besides HTML::Template users will have encountered this > situation I will ask here. > > I have a lot of template code like > > <OPTION <TMPL_IF NAME=foo>SELECTED</TMPL_IF>>Foo</OPTION>
Although not a general solution for this problem, I have solved your specific situation by using the HTML::FillInForm module to handle populating HTML forms. It greatly simplifies your templates, and your code at the cost of some extra processing. I would highly recommend having a look at it. Cees ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users