Perl 6 Cool Perl 6 #66

The zip (Z) operator

The Z operator does pairwise combinations of elements from two or more lists:

my @nicks = <TimToady jnthn audreyt merlyn>
my @karma = <49 333 124 741>

say ~(@nicks Z @karma)

produces:

TimToady 49 jnthn 333 audreyt 124 merlyn 741
Copyright © 2010
http://www.pmichaud.com/2010/pres/