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

3 lines
136 B
Raku
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
my %h1 = key1 => 'val1', 'key-2' => 2, three => -238.83, 4 => 'val3';
my %h2 = 'key1', 'val1', 'key-2', 2, 'three', -238.83, 4, 'val3';