I'm trying to write a program that will process a form and display it again if there were values entered that weren't valid, while retaining the rest of the values. I have the form written in HTML already and at the moment to show it again am getting my script to search through the HTML document and print everything inside the <form>...</form> tags again. I can see that I'd be able to do this if I coded the form within the perl script but is it possilbe to do it while reading the form in from a file?