Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: change all occurances of string1 into string2

by toolic (Chancellor)
on Nov 29, 2012 at 15:22 UTC ( #1006271=note: print w/ replies, xml ) Need Help??


in reply to change all occurances of string1 into string2

Change:

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

to:

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


Comment on Re: change all occurances of string1 into string2
Select or Download Code
Re^2: change all occurances of string1 into string2
by Mr. Newb (Acolyte) on Nov 29, 2012 at 15:42 UTC
    Thanks!
      Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1006271]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2014-12-28 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (183 votes), past polls