First clue: perldoc -f split
In reply to Re: Comma separated list into a hash by blue_cowdawg in thread Comma separated list into a hash by Anonymous Monk