# New Ticket Created by ARTHUR WOLF # Please include the string: [perl #68498] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=68498 >
hello first bug report so i'm not sure i'm doing this right. so, perl6 -e ' class A { has $.a; }; my $a = A.new( a => 2 ); say $a.a ' this outputs 2 as expected but : perl6 -e ' class A { has $.a; submethod BUILD { say "OH HAI" } }; my $a = A.new( a => 2 ); say $a.a ' outputs : OH HAI Use of uninitialized value where it should output : OH HAI 2 ( I think ) Thanks a lot ! ( is there some way I can follow / be warned on the resolution of this bug ? ) -- Courage (et Bonne humeur|and Good humor)\.