This was so helpful, thank you so much I've really been struggling. I was wondering if you could explain the sub chain{} function? I'm not at all sure what you're doing there, but it works! Also do you have any advice as to what I should do if I want to remove the first row so the header doesn't do what the rest of the hash is doing. Again, really appreciate all your help.

In reply to Re^2: Creating a Multi Level Hash from CSV by workInProgress12
in thread Creating a Multi Level Hash from CSV by workInProgress12

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":