I've been using HTML::Template for almost two years now, and I've encountered this problem, and others, several times.
Those who have already answered your question have pointed out that there isn't a neat way of doing this. I've found HTML::Template's limitations frustrating, but that hasn't stopped me using the module. The great thing about HTML::Template is that non-programmers find it intuitive enough. Too many templating systems are great for programmers, but don't suit other members of a Web team.
Admittedly one site I worked on would have been better suited to Template Toolkit, as it is based on complicated logic that doesn't fit with HTML::Template's philosophy. However, many Web applications I've developed fit well with simple looping and variable substitution: in such cases HTML::Template is a great way of keeping both desingers and programmers happy.
I realise that this isn't a direct answer to your question, but I wanted to make a point: HTML::Template might not be complex enough allow programmers to do things as simply as they'd like, but in Web development it's tough to find a solution that everyone involved is happy with. I've found HTML::Template does a good job of keeping everyone relatively happy.
In reply to Re: HTML::Template - Two columns?
by tomhukins
in thread HTML::Template - Two columns?
by mikeB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |