Whats the best way to create a form element using HTML::Template?

0
10

There is much disagreement on this issue. My personal preference is to use CGI.pm’s excellent popup_menu() and scrolling_list() functions to fill in a single variable. To some people this smacks of mixing HTML and code in a way that they hoped HTML::Template would help them avoid. To them I’d say that HTML is a violation of the principle of separating design from programming. There’s no clear separation between the programmatic elements of the

tags and the layout of the

tags. You’ll have to draw the line somewhere – clearly the designer can’t be entirely in charge of form creation. It’s a balancing act and you have to weigh the pros and cons on each side. It is certainly possible to produce a
Experts123