If you interpolate without /o, perl will always do the work of stringifying everything you gave it and concatenating it all into a single string. If the current string matches the last string then the compiled regexp from last time is re-used. This is an implementation detail and would need justification to get documented.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re: Questions concerning /o regex modifier
by diotalevi
in thread Questions concerning /o regex modifier
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |