Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Possible Match Problem

by AnomalousMonk (Abbot)
on Jan 19, 2012 at 16:07 UTC ( #948800=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Possible Match Problem
in thread Possible Match Problem

if ($str2 =~ /\Q$str1\E/) #\Q...\E means like qr #don't interpret characters #like '(' within $str1 #use them verbatim

To avoid misunderstanding, you might also consider removing "like qr" from the foregoing comment, or possibly changing to something like "means, as when used in qr, to avoid interpreting characters like ...".


Comment on Re^4: Possible Match Problem
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2014-12-25 02:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (159 votes), past polls