H::T::Expr with multiple or

Thomas Gutzler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
Hi,

it looks a bit dodgy to me, that
<TMPL_IF EXPR="(foo eq 'bar') || (foo eq 'bar2')">
works well but
<TMPL_IF EXPR="(foo eq 'bar') || (foo eq 'bar2') || (foo eq 'bar3')">
has to be written as
<TMPL_IF EXPR="((foo eq 'bar') || (foo eq 'bar2')) || (foo eq 'bar3')">
to get it working.
Is that a known bug or meant to be as a feature? :)

Cheers, Tom
-- 
Play Rogue, visit exotic locations, meet strange creatures and kill
them.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.