Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: change all occurances of string1 into string2

by toolic (Bishop)
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 scrutinizing the Monastery: (9)
As of 2015-07-05 21:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls