On 20 Jun 2002, Tugrul Galatali wrote:

>       And I feel that ifdefined is fundamentally simple enough (almost
> simpler than if true since its almost not even logic) that it should be
> included.

I disagree.  Ternary logic (where there are three logical values true,
false and unknown) is NOT commonly understood by non-programmers.  Thus, I
don't think this is a good candidate for the default syntax.

However, it's easy to do with HTML::Template::Expr.  If you don't like
writing <tmpl_if expr="defined(foo)"> then just write a filter to change
"<tmpl_if_defined foo>" (or whatever you like) into it.

-sam



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to