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:
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.say Dumper({map { $_ => 'fish' } qw(one two red blue)}); say Dumper([map { $_ => 'fish' } qw(one two red blue)]);
Thanks,
cbeckley
In Section
Seekers of Perl Wisdom