put the regexp in a variable, then put a \Q in the regexp.
If you need to have some unquoted thingies, use \E to demarcate the end of the \Quoting.
from learnin' perl :
/$unquoted\Q$quoted\E$unquoted/
If this doesn't seem like the right way for you, you may also want to look at
quotemeta.