in reply to Convert array to array of hashes

It's extremely hard to answer this question because there's nothing intuitive about your initial array or your final hashes. So when you say "like ...", we have no idea what that array of hashes is like.

If you actually made an array of hashes like that, I believe it'd be

@table_array=( #you forgot the parentheses, by the way {1=>5,8=>89,}, {5=>65,8=>19,}, ... )
because assignment evaluates to the value assigned. Since I'm pretty sure that's not what you want, could you please be more clear about your starting and ending data? (Hint: use quotes where they're appropriate, and put your data in <code></code> tags.)