in reply to Metacharacters in a variable as literals in regex
/\Q$variable\E/; [download]
See also the 'perlre' manual page.
Abigail