|
|
| No such thing as a small change | |
| PerlMonks |
Re^3: Why is "any" slow in this case?by ysth (Canon) |
| on Jul 28, 2025 at 16:22 UTC ( [id://11165836]=note: print w/replies, xml ) | Need Help?? |
|
If you use $1 and then Devel::Peek::Dump it, you will see the values you got stored in it, but that's all ephemeral; the next access will trigger the get magic again, which does a lot of work to get info from where the regex engine stashes it (and leaves it in the $1 SV so the remainder of that operation can use it).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||