in reply to Why is /o not listed as a modifer

In addition to what others already wrote: /o caused much confusion, and these days its performance advantage is pretty small (if it exists at all), because regex compilation is cached in newer perl versions.

As far as I know it's not officially deprecated because too much legacy code uses it, but most people discourage its usage anyway.

If you want to achieve the old behavior, constructing a regex with qr is the recommended way.