# with the list repetition operator: @array = @male Z~ ' ' xx @male Z~ @female; # with cross instead of zip: @array = @male X~ ' ' Z~ @female;