Your map statement is working fine. The problem is that you have assigned a value to "$,", which is the output field separator variable. Its value is printed when you use a comma in a print statement.
$,="bar";
print "foo","baz";
will output:
foobarbaz
--sean