Perl List of Anonymous Hashes
                    
                    
                
            Here’s a nice trick from perlfunc’s map entry:
To force an anon hash constructor use "+{":
    @hashes = map +{ lc($_) => 1 }, @array # EXPR, so needs
                                           # comma at end
to get a list of anonymous hashes each with only one entry apiece.
Last modified on 2014-07-08