in reply to Re: Help explaining data structure
in thread Help explaining data structure

True, but that should be %hash and %num.

Another important bit of information is how each array/hash is used. They are typically used to store a list of elements or a set of fields (record/object). I'm guessing:
%val is a hash (named list) of array (record/object) of arrays (ordered list).
%num is a hash (named list) of hashes (record/object).