I have a simple contact form that I knocked up in a few minutes using NMS FormMail.pl. But the customer has requested that I have a second email address entry field, and validation that kicks them back if the two addresses are different. I could add the validation to FormMail.pl, but before I do, I thought I'd ask if there is a better solution, if only because this might already be a solved problem, and also because nobody has modified FormMail.pl in 4+ years.
I know this server has perl and PHP, and maybe Python as well. I've also got Tomcat running, but a servlet seems like overkill for this.