Re-write closing tags
Posted on 2009-02-16
I have a perl script take collects info from a form and saves it as an append html file, my problem is at the moment my code
Opens the html file and plonks the form data at the end of the html file, below the closing tags as you would expect being appended :-)
I would like some help with somehow removing the </body></html> tags, so I can write my form data the reprint the closing tags each time a new form is submitted.
Sounds easy but I can't find any help on this, maybe my search description is a little shady, shame substring for a whole file is not method...