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

5 lines
105 B
Perl

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