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


in reply to Re^3: Syntax for casting map to a hash or an array
in thread Syntax for casting map to a hash or an array

Ah, more light bulbs. Thank you.

And in my trivial example, these work:

say Dumper({map { $_ => 'fish' } qw(one two red blue)}); say Dumper([map { $_ => 'fish' } qw(one two red blue)]);
but I'm not sure I would have had either light bulb go off if I'd started there. Learning is strange trip. Oh, wait, maybe that's just me.

Thanks,
cbeckley