in reply to Switch/Format to not interpret metacharacters in regex?
See also the built-in quotemeta function (which does something very similar to \Q ... \E).
In Section
Seekers of Perl Wisdom
in reply to Switch/Format to not interpret metacharacters in regex?