my $x = UupDumpClass.new;

> 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
> 
> 
> Many thanks,
> -T
> 
> 
> -- 
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> If I had a dime every time I didn't know
> what was going on, I'd be like, "Why is
> everyone giving me all these dimes?"
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to