in reply to Questions concerning /o regex modifier
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.
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Questions concerning /o regex modifier
by Limbic~Region (Chancellor) on Nov 29, 2006 at 18:29 UTC | |
by diotalevi (Canon) on Nov 29, 2006 at 21:30 UTC | |
by Limbic~Region (Chancellor) on Nov 29, 2006 at 21:49 UTC | |
|
Re^2: Questions concerning /o regex modifier
by tye (Sage) on Nov 29, 2006 at 18:36 UTC | |
by diotalevi (Canon) on Nov 29, 2006 at 21:19 UTC | |
|
Re^2: Questions concerning /o regex modifier
by bunnyman (Hermit) on Nov 29, 2006 at 18:36 UTC | |
by diotalevi (Canon) on Nov 29, 2006 at 21:17 UTC | |
by sgt (Deacon) on Dec 01, 2006 at 22:48 UTC |