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


in reply to Re: need help in editing multiple word in a file
in thread need help in editing multiple word in a file

consider this example: lion is brave animal. cat is brave animal. dog is brave animal. in this i want to change brave by frightened only for cat. so i need to match cat and replace brave with frightened. So match file is like: cat frightened . Thanks.