Each pair has a key, the <dt> tag, and a value, the <dd> tag.
<html><head><title>Dictionary Lists</title></head>
<body>
Flintstone
<dl>
<dt>father</dt> <dd>Fred</dd>
<dt>mother</dt> <dd>Wilma</dd>
<dt>child</dt> <dd>Pebbles</dd>
<dt>pet</dt> <dd>Dino</dd>
</dl>
</body>
</html>
will look like:
Flintstone
%flintstone = (
"father" => "Fred",
"mother" => "Wilma",
"child" => "Pebbles",
"pet" => "Dino",
)
To retrieve the value of a key:
print "$flintstone{"pet"}\n";
will print:
Dino