I am making a perl script, which needs a special function. I need to have a hash whose keys are character strings (and there will be a very very large number of keys), and the values are two-dimensional arrays (array composed of array). So one element in this kind of hash would be $hash{a}[1][2]. Since the number of values in hash and number of one-dimensional arrays in a two-dimensional array would be large and uncertain before running the program, its not possible to declare every of them beforehand. Instead I just want to declare one hash name (and a few indexes for arrays), and some way to create this kind of complex variable.
Thank you very much for helping! If you could not understand my description please tell me and I will try to make it more clear to you.