|XP is just a number|
How to better represent a complex data structure.by Amblikai (Scribe)
|on Jan 08, 2013 at 16:01 UTC||Need Help??|
Amblikai has asked for the
wisdom of the Perl Monks concerning the following question:
Hi monks, i'm trying to get my head around some more complicated data structures and i'm wondering how best to represent my data.
I hope i explain this ok but basically i have the following:
So i have a hash of arrays of arrays if that makes sense (my brain is mush now!)
So my question after all that is, how can i better represent the above code? Do i have to make the array declarations before i take their reference or can i do that at the same time?
Also, if i wanted to push a value onto one of the end arrays, i.e. @user_file_part1, how would i reference it?
Thanks in advance!