Re: [htmltmpl] TMPL_IF truth vs definition
Brought to you by:
samtregar
From: Sam T. <sa...@tr...> - 2002-06-22 20:48:09
|
On Fri, 21 Jun 2002, Douglas Kirkland wrote: > The problem I see with that, is if the TMPL_IF is reading the data. we > should be able to see if the data equal a value. If that is a case then > there should be something like this: > > <TMPL_IF NAME="FOO" eq 5> Use HTML::Template::Expr and spell that: <tmpl_if expr="foo eq 5"> And your wish is granted. But don't you really mean: <tmpl_if expr="foo == 5"> ? -sam |