in reply to Re: Possible for Map to create Hash of Hash?
in thread Possible for Map to create Hash of Hash?
You can't have map returning nested hashes assigned to a top-level ha +sh, otherwise entries from different lines would collide (2 x Sidney, + 2 x Canberra) my %hash = map { entry1 => { entry2 => 1} } <> # collisions of entry1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Possible for Map to create Hash of Hash?
by LanX (Saint) on May 11, 2013 at 13:39 UTC |