my %h = map {; $_ => $_ } @arr; ^ | force a block. #### my @a = map +{ $_ => ord($_) }, @arr; ^ | force a hash