in reply to Re: Raku question: "Moose is Perl", but it sure ain't Raku.
in thread Raku question: "Moose is Perl", but it sure ain't Raku.
class A { has $.a; method TWEAK(:$!a = "foo") { } } dd A.new; # A.new(a => "foo") dd A.new(a => "bar"); # A.new(a => "bar")
|
---|
In Section
Seekers of Perl Wisdom