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


in reply to Re^3: 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

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