|
|
| Think about Loose Coupling | |
| PerlMonks |
Re: Creating multidimentional arrays dynamicallyby sflitman (Hermit) |
| on Aug 13, 2010 at 05:54 UTC ( #854835=note: print w/ replies, xml ) | Need Help?? |
|
Here's a 2D example, using neat Perl syntax: Extending this to three dimensions is trivially easy, just add another set of brackets after [$j], but then printing it gets harder. Read perllol
HTH,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||