Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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: (17)
As of 2014-09-17 14:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (82 votes), past polls