Chapter 17 abs

Presumably perl is guessing that $pattern is a regex because of the binding operator, as it hasn't been delimited as a regex.