I have a file: map.txt
- which is having 1000+ lines like below format:
aaa { 123 };
bbb { 4567 };
cc { 89 };
I have another file input.txt
having 5 Million+ lines;
which contains aaa as "aaa"
, bbb as "bbb"
format.
Can I get a suggestion for a fastest method in perl to search & replace all occurrence of:
"aaa"
with "123"
"bbb"
with "4567"
so on.