in reply to Re^5: Here documents in blocks
in thread Here documents in blocks
> is there an accepted best practice?
yes, but you won't like it. :)
It's use one of the many template systems, especially for HTML.
You can role your own, but at the end you will reinvent the wheel.
Personally I'm stuck with a system at $work where I have to roll my own :/
Another best practice is MVC ... well separation of code and templates at least.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In Section
Seekers of Perl Wisdom