perl -Mstrict -wle"my %x = map{ 'A' => $_ } 1 .. 10" syntax error at -e line 1, near "} 1" Execution of -e aborted due to compilation errors.