http://qs321.pair.com?node_id=585424


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