Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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;


Comment on Re: correct usage of q, quotemeta, with s///
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2014-07-25 20:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls