http://www.perlmonks.org?node_id=1004460


in reply to need help in editing multiple word in a file

>I want to replace some words in a file

ok

>In words are present in whole file. But starting of each line in file is by different word so i am using a file in which first character of line at which i wanna do replacement is written

mmmh? I wonder how you could have a file with unwritten characters. Do you want to match only the first character?

>and along with it replaced word is given ( i name it match file)

uh?

sorry, I get lost, can't understand what you want to do exactly

Could we have a small example with some data