in reply to Re: Why is my data structure wrong?
in thread Why is my data structure wrong?

That isn't a bug. Your %tmp hash is declared prior to the loop. You are pushing a reference to the same hash each time through the loop (your $record array ref holds a bunch of pointers to the same thing).
  • Comment on Re: Re: Why is my data structure wrong?