Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Can i check various condition in <TMPL_IF> using HTML::Template

by dws (Chancellor)
on Jan 18, 2005 at 08:56 UTC ( [id://422938]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Can i check various condition in <TMPL_IF> using HTML::Template
in thread Can i check various condition in <TMPL_IF> using HTML::Template

I dont want to do it in cgi, i want it in template ... Is it possible

No, it is not possible in the current release of HTML::Template. If what you want isn't going to go beyond a simple disjunction, then the trick reneeb lays out below will work, though it's going to involve some duplication in the template that you would avoid by calculating the expression in code.

  • Comment on Re^3: Can i check various condition in <TMPL_IF> using HTML::Template
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://422938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-25 20:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found