in reply to Data::FormValidator

imho Formbuilder module not only does validation (also with client side javascript), but also builds the forms for you, check out CGI::Formbuilder