note
thraxil
<p>with a bit of thought, i've found that it's always possible to seperate the business logic and display logic using HTML::Template. (at least it has been for everything i've written for the last 3 or 4 years).</p>
<p>you may need to spend a bit of time coming up with a decent solution, but it almost always pays off. eg, i used to resort to using CGI.pm's popup_menu() to produce <select>s and then just passing them in as html strings. eventually i sat down and thought up a <a href="http://www.perlmonks.org/index.pl?node_id=312367">better solution</a> and the result has been cleaner code with more control in the hands of the designer.</p>
<p>also, don't be afraid to subclass HTML::Template and override parts of it. that road has many interesting possibilities.</p>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-77866">
<p align="right"><a href="http://www.columbia.edu/~anders/">anders pearson</a></p>
</div></div>
367163
367163