Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Search and replace

by Laurent_R (Monsignor)
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 lurking in the Monastery: (6)
As of 2016-02-12 23:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (415 votes), past polls