I am thinking to create a web based survey and I thought the best way would be to describe the questions and the possible answers as a json or yaml file. Then generate the forms from there (possibly spreading several pages). From the same description file I could derive the rules for input validation and then I could use something like Data::FormValidator to validate the results.
In the end I'd like to plug this in a Dancer based application.
I wonder what modules are out there on CPAN that could help doing this?