... the use of o seems to be discouraged.
I only latched onto /o because I was casting about for something to use in a manufactured example.
AFAIU, the /o modifier is only useful now in those very limited cases in which one wishes to prevent recompilation of a qr// m// s/// even when interpolated Regexp objects or strings have changed. My understanding is that these operators will not now recompile on each execution unless an interpolated regex/string has changed.
Give a man a fish: <%-{-{-{-<
In reply to Re^3: [OT - Separator character]: Best Practice: Order of regex modifiers?
by AnomalousMonk
in thread Best Practice: Order of regex modifiers?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |