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


in reply to change all occurances of string1 into string2

Change:
s/${thing}/${translate}{${thing}}/g;

to:

s/${thing}/$translate{${thing}}/g;

Replies are listed 'Best First'.
Re^2: change all occurances of string1 into string2
by Mr. Newb (Acolyte) on Nov 29, 2012 at 15:42 UTC
    Thanks!
      Thanks!