in reply to search and replace strings in different files in a directory

By the way, unless you are sure that there are no other XML/SGML-unsafe characters in your files, it could be useful to switch to HTML::Entities::encode_entities_numeric function to encode your files.
  • Comment on Re: search and replace strings in different files in a directory

Replies are listed 'Best First'.
Re^2: search and replace strings in different files in a directory
by PitifulProgrammer (Acolyte) on Aug 08, 2014 at 08:42 UTC
    Dear aitap, Thanks a mil for your hint about the module. I will surely try it out. However in the present case, I cannot be sure that I am just dealing with wrong entities. The script is more or a less a general replacer script for my colleagues Thanks a lot for your help. Kind regards C.