in reply to
Re^2: HTML - sharing design and logic
in thread HTML - separating design and logic
Yes, you can do it that way, and many people do. It makes the templates really, really ugly. If there is a clean solution to this, I haven't seen it yet. Ironically, some of the cleanest ones I've seen involve creating the HTML on the Perl side (though usually with a backend module doing the actual HTML generation).
send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.