How do you output the html? print statements to STDOUT or some kind of templating system? Also what is the source of the input? A file or a database? Maybe you should reverse the problem and write a one off script that converts the input data once and for good.
holli
You can lead your users to water, but alas, you cannot drown them.
Comment on Re: Escaping double quotes in complete document
for the output method I'm using, please refer to my reply to haukex.
My input comes from multiple Java functions running on a JBoss Server that is connected to a database. I call them via SOAP::Lite and read the returned data objects
I will look into changing those to automatically encode HTML entities. That may be a quicker and more thorough solution than sifting through every script I have