in reply to Re^3: assigning arrays as values to keys of hash
in thread assigning arrays as values to keys of hash

Now that I understand what your objective was, all is fine.
For a newbie, my objective is to show simple code that will "run like a rocket".
The complications in your code are too much for a beginner.
  • Comment on Re^4: assigning arrays as values to keys of hash