|
|
| There's more than one way to do things | |
| PerlMonks |
Re^6: 5.42: Does m// toss a string around?by Anonymous Monk |
| on Jan 30, 2026 at 22:37 UTC ( [id://11167279]=note: print w/replies, xml ) | Need Help?? |
|
COW is normally used for the copy for $& and friends, but it wasn't used in this case because there's not enough space in the buffer Thanks. I think it follows that appending a character practically poisons a string in Perl (try 1e7 if on modern PC):
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||