Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: search and replace strings in different files in a directory

by aitap (Curate)
on Aug 07, 2014 at 11:28 UTC ( #1096597=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1096597]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2018-07-17 18:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (374 votes). Check out past polls.

    Notices?