Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
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 ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2023-02-09 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (44 votes). Check out past polls.

    Notices?