in reply to Can't modify private array in concatenation?
Here are a couple of ways. (There are more.)
The . operator is strictly for string concatenation. And in your code it attempts to "coerce" the list into a string.
-Paul