in reply to Re: equivalent of python's zip in perl
in thread equivalent of python's zip in perl

There's also an infix Z operator (which is implemented in Rakudo, but works only with two lists at the moment):
my %h = <a b c d e f g> Z (1, 2 ... *); # or as a meta operator: # infix ~ is string concatenation my @list = <a b c d> Z~ (1, 2 ... *); # @list is now ('a1', 'b2', 'c3', 'd4')