http://www.perlmonks.org?node_id=948800


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 ...".