Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Template::HTML - what's the rule of thumb?

by barrd (Prior)
on Dec 18, 2003 at 11:46 UTC ( #315499=note: print w/ replies, xml ) Need Help??

in reply to HTML::Template - what's the rule of thumb?

Hi kiat,
Your question is a bit open ended and really depends on the complexity of the data you are trying to display. I usually try and make my .tmpl's as generic as possible, this though is not to everyones taste and depends heavily on what is required to be displayed. If the data is not too wildly different I rely on <TMPL_IF>'s and <TMPL_INCLUDE>'s to manage what gets displayed and keep any text in the main template as generic as possible with all the dynamic data being shown in the included templates.

Comment on Re: Template::HTML - what's the rule of thumb?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (12)
As of 2015-11-26 11:54 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (697 votes), past polls