Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^4: When to use templates?

by zejames (Hermit)
on Nov 19, 2004 at 17:12 UTC ( #409064=note: print w/ replies, xml ) Need Help??


in reply to Re^3: When to use templates?
in thread When to use templates?

I said complex statement, meaning statement not only based on boolean variable passed par the perl script.

In HTML::Template for example, you cannot test in the template if $var > 5, you have to do it the script ($bool = $var > 5;) and then use the result the a TMPL_IF.

I do not like it very much. However, I do respect Your Way To Code It ;) That's a matter of choice.


--
zejames


Comment on Re^4: When to use templates?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (16)
As of 2015-07-01 16:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (12 votes), past polls