$ perl -Mstrict -we 'my @a = qw(a b c d); my %h = map { $_++ } @a' $ perl -Mstrict -we 'my @a = qw(a b c d e);my %h = map { $_++ } @a' Odd number of elements in hash assignment at -e line 1. $