On 4 Jul 2021, at 12:36, ToddAndMargo via perl6-users <perl6-us...@perl.org> wrote:Hi All, What I am doing wrong here?class UupDumpClass { has @.arry is rw; }(UupDumpClass)my $x = UupDumpClass;(UupDumpClass)$x.arry[0] = "zero";Cannot look up attributes in a UupDumpClass type object in method arry at <unknown file> line 1 in block <unit> at <unknown file> line 1
On 7/4/21 3:39 AM, Elizabeth Mattijsen wrote: > my $x = UupDumpClass.new; Thank you! :-)