in reply to Comma separated list into a hash

First clue: perldoc -f split