class Dot { has $.x; has $.y; has $!z; method get { return ($!x, $!y, $!z); } }; my $a = Dot.new(x => 23, y => 42, z => 2); say $_ for $a.get; #### 23 42 (Any) #### Use of uninitialized value of type Any in numeric context ...
## 23 42 (Any) ##
## Use of uninitialized value of type Any in numeric context ...