On 23 Jun 2002, Tugrul Galatali wrote:

> On Sat, 2002-06-22 at 15:54, Sam Tregar wrote:
> > 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.
>
>       Three values? I'm only thinking two here, exists and does not exist.

Oh.  I assumed you were proposing we add support for a defined()-type
operator.  That would give the template syntax a ternary logic.

>       Now that I've read the code, the thing is that you already check if
> something is defined, and then you check if its true. I just want to be
> able to turn off the check if its true. I don't care if its true or
> false, just if it exists.

I guess you should use a private patch then.  I don't see this as a
general enough need to make it worth adding to HTML::Template.

> Also, does the H::T::Expr solution work with JIT?

Not yet.  I intend to add support sometime after I finish support for all
of HTML::Template's options.

-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