in reply to Quoting metacharacters in regexen
ahah thanks guys. i found out that the \Q didn't work the first time because i also used it in an s// function, and when i only did the left side, i.e. :
s/\Q$string1\E/$string2/
it works! I guess s// doesn't try to evaluate the replacement string as a regular expression after it interpolates it.