Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Search and replace

by Laurent_R (Prior)
on Sep 11, 2013 at 17:26 UTC ( #1053537=note: print w/ replies, xml ) Need Help??


in reply to %% in perl mean

Just look what it does:

DB<10> $string = 'foo%%bar'; DB<11> $string =~ s/%%/BAZ/; DB<12> print $string fooBAZbar DB<13>


Comment on Search and replace
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2015-05-06 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (151 votes), past polls