"be consistent" | |
PerlMonks |
Re: How to better represent a complex data structure.by choroba (Cardinal) |
on Jan 08, 2013 at 16:10 UTC ( [id://1012268]=note: print w/replies, xml ) | Need Help?? |
Fortunately, you do not have to make all the declarations. You can use anonymous arrays (and hashes):
If all the arrays are empty at the beginning, you do not have to declare anything - everything will be autovivified when dereferenced. So, in short:
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
In Section
Seekers of Perl Wisdom
|
|