morgon has asked for the wisdom of the Perl Monks concerning the following question:
I am using 5.14.2
works, howeveruse strict; my %x = map { $_ => 1 } qw(a b c);
does not compile ("not enough arguments for map").use strict; my %y = map { "prefix_$_" => 1 } qw(a b c);
Is this a bug or am I being stupid?
Back to
Seekers of Perl Wisdom