我具有以下散列的散列:如何從散列哈希中提取密鑰名稱?
%HoH = (
flintstones => {
husband => "fred",
pal => "barney",
},
jetsons => {
husband => "george",
wife => "jane",
his boy => "elroy",
},
simpsons => {
husband => "homer",
wife => "marge",
kid => "bart",
},
);
如何迭代每個內部散列(比如說flintstones)並且還爲每個這樣的迭代提取鍵名(丈夫,朋友)和相應的值?