$p = '4+5*6'; $str =~ $p; # Doesn't perform arithmetic. $p = 'm/a/'; $str =~ $p; # Doesn't search for `a`. $p = 's/a/b/'; $str =~ $p; # Doesn't perform a substitution.