The hash I want to create from this file should have the first element as in each row as its key and the 2 other elements as the corresponding value. eg. $hash{'A'}= "B,C"
I am able to do this using the conventional aprroach i.e creating an array first and then creating a hash.
However, I want to slurp this and split the data directly into a hash using map function.