Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by termix (Beadle)
on May 30, 2002 at 22:36 UTC ( [id://170536]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $page="nospaceLOTSnospace space LOTS space";
    my $old_text = qq ( LOTS );
    my $new_text = qq ( LESS );
    $page =~ s/$old_text/$new_text/g;
    print $page;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-03-28 21:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found