I have a .dat file which contains many line of data
i have split the line up using split() and i am wanting to read line which contains a name and line which contains it's value.
i want to read them into a hash table, then output them to file
how do i store the 2 values into a hash table and output them to a file in the following format
I know very little about hash tables so any feedback will be appreciated