in reply to How to validate the form in CGI

Data::FormValidator