in reply to Array of Hashes or Hash of Arrays

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 @{  }.

Replies are listed 'Best First'.
Re^2: Array of Hashes or Hash of Arrays
by perl@1983 (Sexton) on May 10, 2012 at 10:25 UTC
    Didn't quite understand your last statement.. Can you please help to clarify? $key_list_by_value{$value} is a reference to an array - hence the @{ }.