Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: "exact" pattern matching

by moritz (Cardinal)
on Jun 08, 2008 at 21:24 UTC ( [id://690961]=note: print w/replies, xml ) Need Help??


in reply to "exact" pattern matching

Others have rightly mentioned index and eq.

There's also quotemeta and m/\Q$regex\E/ for escaping strings in a regex. (If you don't do anything else, the regex doesn't have any benefit over index, though. Except perhaps ease of use).

Replies are listed 'Best First'.
Re^2: "exact" pattern matching
by my_nihilist (Sexton) on Jun 08, 2008 at 21:38 UTC
    hmmm...i see a pattern.

    thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2024-11-04 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    chatterbot is...






    Results (20 votes). Check out past polls.