in reply to re bug?

If you use a variable in a regex, it is interpretted as a regex unless you tell the regex that you want it to just be a string. This is a very common mistake. s/\Q$test\E//g; is how you tell the regex that.

        - tye (but my friends call me "Tye")