Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: HTML::Template : How to separate code and html with lesser maintenance issues

by perrin (Chancellor)
on Nov 22, 2006 at 02:34 UTC ( [id://585424]=note: print w/replies, xml ) Need Help??


in reply to Re^2: HTML::Template : How to separate code and html with lesser maintenance issues
in thread HTML::Template : How to separate code and html with lesser maintenance issues

If you want to display some variables, just run the small templates through HTML::Template instead of reading them directly. There's no reason you can't call it more than once.
  • Comment on Re^3: HTML::Template : How to separate code and html with lesser maintenance issues

Replies are listed 'Best First'.
Re^4: HTML::Template : How to separate code and html with lesser maintenance issues
by sara2005 (Scribe) on Nov 22, 2006 at 19:13 UTC

    finally, I decided to use separate templates for each of those conditions.

    In this way, my script stays without any html codes.

    Thanks for your help

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (1)
As of 2024-04-19 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found