perlquestion
loris
<p>Dear Monks,</p>
<p>If I have</p>
<code>
my $animals = {
gnu => {
humps => 0,
},
dromedary => {
humps => 1,
},
camel => {
humps => 2,
},
};
</code>
<p>is there any simple way of extracting an array of the values for <code>humps</code> without explicitly traversing the top-level hashrefs?<p>Thanks,</p>
<p>[loris]</p>