RosettaCodeData/Task/Associative-array-Creation/Perl/associative-array-creation-2.pl

6 lines
87 B
Perl
Raw Permalink Normal View History

2013-04-10 14:58:50 -07:00
print $hash{key1};
$hash{key1} = 'val1';
@hash{'key1', 'three'} = ('val1', -238.83);