class A { has $.a; method TWEAK(:$!a = "foo") { } } dd A.new; # A.new(a => "foo") dd A.new(a => "bar"); # A.new(a => "bar")