sub treeify_r { my $t = pop; $t = [ pop, pop, $t ] while @_; return $t; } assign : { treeify_r(@{$item[1]}); } ASSIGN : '='