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

3 lines
136 B
Raku

my %h1 = key1 => 'val1', 'key-2' => 2, three => -238.83, 4 => 'val3';
my %h2 = 'key1', 'val1', 'key-2', 2, 'three', -238.83, 4, 'val3';