%data = << why dunno who them where there which this >>; #### (why => "dunno", who => "them", where => "there", which => "this") #### multi sub infix:=(List of Pair @assign is rw, List of Pair @values) returns List of Pair { my %assign := *@assign; for @values { %assign{.key} = .value; } return *%assign; } #### my $fish = "hest"; ($sheep, $goats, $fish) := part Animal::Cat, @animals; #### my $hest = "hest"; %result := ($sheep, $goats, fish => $hest) := part Animal::Cat, @animals; #### ($sheep, $goats, $fish => "hest") := part Animal::Cat, @animals;