RosettaCodeData/Task/Associative-array-Creation/Perl/associative-array-creation-2.pl
2023-07-01 13:44:08 -04:00

5 lines
87 B
Perl

print $hash{key1};
$hash{key1} = 'val1';
@hash{'key1', 'three'} = ('val1', -238.83);