Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: When to use templates?

by MidLifeXis (Monsignor)
on Nov 19, 2004 at 19:56 UTC ( #409143=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # In the perl
    $template->param(SHOULD_I_DISPLAY_THIS => ($foo + $bar) > 2);
    -------
    <!-- In the template -->
    <TMPL_IF SHOULD_I_DISPLAY_THIS>this</TMPL_IF>
    
  2. or download this
    <TMPL_IF EXPR="(FOO + BAR) > 2">this</TMPL_IF>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://409143]
help
Chatterbox?
[karlgoethebier]: sometimes rereading manages is helpful ;-) at least for me...
[Eily]: hello people \o/
[karlgoethebier]: manpages..
[Eily]: and non-people and NodeReaper
[Discipulus]: you so kid to greet non people..;=)
Discipulus kind not kid..
[Corion]: The bots bow in response
[Discipulus]: so karlgoethebier, what this idiom is and where i can read about it? i tried to deparse and gives error..;=(
[karlgoethebier]: Eily: non-people == persone non grata?

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-07-21 08:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (319 votes). Check out past polls.