An associative array, called a hash, is an unordered list of key/value pairs, indexed by strings.
#The name of the hash is preceded by a "%" symbol.
%employee = (
"Name" => "AA",
"Phone" => "(999) 555-1234",
"Position" => "CEO"
);
print $employee{"Name"};
$employee{"SSN"}="999-333-2345";
Related examples in the same category