in reply to Replacing a ' in a string

I almost don't even want to comment on this code because it soooo hurts my eyes. Here's the first few bits of what I can contribute: Seriously, that code would definitely flunk any code review I gave it.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.