http://qs321.pair.com?node_id=11112864


in reply to Raku question: "Moose is Perl", but it sure ain't Raku.

There may be a better way, but you can do this by overriding new (and removing the title attribute from Employee::Former):

class Employee::Former is Employee { method new(*%params) { %params<title> //= 'Team Member'; return callwith(|%params); } method name_and_title { my $old = callsame; return "$old (Former)"; } }

Good Day,
    Dean