in reply to Using map to assign to a hash

Also worth noting, putting parens only around the key definition fixes it as well. ie

map{("$var/$_"),$_}@array
So simply adding extra clarity to the key definition is the main fix (as stated by jeffa in his perldoc ref).


Grygonos