Yes, I figured out my mistake.
Autovivification is great tool. I did it that way (lazy me :-)) In my opinion, autovivification should not be taught to a beginner. It makes creating multidimentional arrays so simple that, lazy people like me will never study data structures chapter .. :-) Thanks Chak --- Laziness is the mother of invention (My philosophy)In reply to Re^2: Creating and Accessing 3-D array
by Anonymous Monk
in thread Creating and Accessing 3-D array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |