I'm working on a new plugin for CGI::Application. It generates HTML forms based on a HTML::Template file, but creating each input field from YAML schema.
At the moment I'm using CGI.pm to generate the input fields. The problem is I know a lot of people use CGI::Simple with CGI::Application so the HTML generation isn't always available.
I've considered an option of using HTML::Template::Set to get sample input field HTML into the script. But I also want the option to be able to just define some styles in the YAML and generate the input field HTML from the script.
I read a lot of people saying never use CGI.pm to generate HTML, so what is the alternative? Should I just roll my own HTML? Or is there another module I should be using?