in reply to Re^2: Parsing and Matching Text with Map
in thread Parsing and Matching Text with Map

You process as advised, and at the end of the map block you return a key/value pair:
map { ... $index, [ @list ]; }

That will be fine to construct a hash.

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}