http://qs1969.pair.com?node_id=89139


in reply to Re: (Golf) Kaprekar's Process
in thread (Golf) Kaprekar's Process

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