Keep It Simple, Stupid | |
PerlMonks |
Re: Array of Hashes or Hash of Arraysby cdarke (Prior) |
on May 10, 2012 at 09:48 UTC ( [id://969779]=note: print w/replies, xml ) | Need Help?? |
thing? key_list_by_value is a hash - you can tell by the { }. $value is a hash key (looks like someone did a reverse() on %by_key. $key is a scalar. $key_list_by_value{$value} is a reference to an array - hence the @{ }.
In Section
Seekers of Perl Wisdom
|
|