in reply to Need help with s///

That's pretty amazing that your program pretty anything at all, as I cannot get it to compile. Are you sure you have the use strict; there? Because that should tell you what you are doing wrong.

-- Abigail