hi perlmonks, would like to seek your expertise on how to code this:
if i have a config/look-up file containing like below:
AAA = AAA123 BBB = XYZ999 DEF = ANYOTHER
then i have multiple files where I would like to replace the string containing the string patterns from the left side above & replace with the string on the right. my objective is to keep the base code & just update the look-up file of the string pattern to search & the corresponding string to replace in the files.
I look forward to your valuable inputs.
In reply to string replacement by colox
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |