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


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

Ok, so how do you propose deciding which word in the string:

cat is brave animal

should be replaced by 'frightened'?

In other words, is this also acceptable:

cat frightened brave animal

?

Update: de-gobbledegooked, I hope...