(Answer) (Category) WebGUI FAQ : (Category) Web Design :
TMPL_IF, TMPL_LOOP... What's it all about?
From bottelberghs: The boolean expressions in HTML::Template are evaluated in this way: the expression is true if the following conditions are met:

   1. the variable must exist (=> is there a key in the hash-reference of 
      variables with this name?) and be defined (so it may not be assigned undef);
   2. the value of the variable must not be empty (e.g. may not be a string 
      with no content);
   3. the value of the variable may not be zero (as in the integer 0);

In any other case, the expression will be evaluated to false.

[Append to This Answer]
Previous: (Answer) Logon Macro issues 6.2.9
Next: (Answer) Add dropdown list of posted articles to User Profile
This document is: http://www.gwy2.org/cgi-bin/fom?file=39
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
This FAQ administered by ... Gerald Young