I think this "feature" is for sed compatibility. (By compatibility, I mean that the people using sed can get used to perl easier.)
Maybe it would be better if this magic applied only if the regexp is empty before interpolation (and before overload qr transformation).
In reply to m/${\""}/ is for sed compatibility
by ambrus
in thread a word of warning about /$pattern/
by dada
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |