Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: How do I escape meta-characters in a user-defined string?

by btrott (Parson)
on Mar 25, 2000 at 01:05 UTC ( [id://6103]=note: print w/replies, xml ) Need Help??


in reply to How do I escape meta-characters in a user-defined string?

if($string=~/\Q$key\E/){
Quotes the metacharacters.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 04:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found