RosettaCodeData/Task/Associative-array-Creation/Perl-6/associative-array-creation-...

4 lines
51 B
Raku

my @a = 1..5;
my @b = 'a'..'e';
my %h = @a Z=> @b;