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;


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 chanting in the Monastery: (15)
As of 2015-08-04 16:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (69 votes), past polls