http://www.perlmonks.org?node_id=1008384


in reply to Re^2: better array to hash conversion
in thread better array to hash conversion

A for solution is generally faster than a map, and it has been discussed in map versus for amongst other places. Sometimes however it is more expressive to use "map".

A Monk aims to give answers to those who have none, and to learn from those who know more.