On 10/14/18 2:29 AM, Ralph Mellor wrote:
In P6 "assign" means use of `=`.
And "assign to" means to copy into the thing on the left of the `=`.
And to copy into something the thing has to be a mutable container.
The error message is saying that $ReturnStr is bound to an
immutable value (eg a string) not a container.
So that's presumably a problem with whatever code you've
written that has earlier bound $ReturnStr to an immutable value.
--
raiph
my Str $ReturnStr = "";
I think slurp-rest does not support
enc => 'utf8-c8'
:'(
See my other letter on this thread