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. #### perl -Mstrict -wle"my %x = map{ $_ => $_ } 1 .. 10" perl -Mstrict -wle"my %x = map{ 'A' . $_ => $_ } 1 .. 10" #### P:\test>perl -Mstrict -wle"my %x = map{ qq[A_$_] => $_ } 1 .. 10" syntax error at -e line 1, near "} 1" Execution of -e aborted due to compilation errors.