Was: my $len = length($string);
Now: my $len = $string.chars;
My intuitive interpretation of that syntax would be "given a string, return a sequence containing its characters, in order".Or is that overlading on return type, and do you get the behavior I would find intuitive if one assigns to an array?
Even if that is true, I find that ugly. I would prefer more explicit code, for example
my $len = $string.chars.#;
Similarly: Was: $#array+1 or scalar(@array)
Now: @array.elems
(All IMHO)