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

Re: correct usage of q, quotemeta, with s///

by I0 (Priest)
on May 31, 2002 at 00:58 UTC ( #170574=note: print w/replies, xml ) Need Help??


in reply to correct usage of q, quotemeta, with s///

$page =~ s/\Q$old_text\E/$new_code/g;

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://170574]
help
Chatterbox?
[Discipulus]: summon succeded! zentara is here!! ;=)

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2018-04-20 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?