Help for this page
$foo =~ '^string literal$'; # Does not equal /\Q^string literal$/ $foo =~ $string; ... $foo =~ $precompiled_regex; # Is stringified first! $foo =~ /$precompiled_regex/; # Faster
# Bad: (well, it works, but not the way you want it to) $foo =~ $qr; ... # Good: $foo =~ s/$qr/bar/;