Hi All, This code:
my $str = ''; class Mock { method say($arg) { $str ~= $arg } } $*OUT = Mock.new; say 'hi'; produces: Too many positionals passed; expected 1 argument but got 2 in block <unit> at out.p6 line 6 Changing the signature of say doesn't seem to help. If I change 'say' to 'print' in Mock, things work fine, though I'm having a hard time figuring out why the code above doesn't work. Any ideas? thanks Brian