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

3 lines
85 B
Raku
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
my $h = {key1 => 'val1', 'key-2' => 2, three => -238.83, 4 => 'val3'};
say $h<key1>;