Please do a [% id %]
[% name %]

above your IF statement, and check the values. (And report them here as well if 
they look alright.) Also, please send the exact TT syntax you are using with 
brackets, and the entire block including the END  statement. The match syntax 
looks fine to me.

-- Josh

JustSome person wrote:
I have this, but it seems to ALWAYS be true even when
that is not matching..please advise to its usage.

IF id.match('(12)') ||
name.match('(joe|tim|john|mary|steve)')
   "you are a member"
ELSE
   "not a member"


Doesn't work....please advise

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates


_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to