Yuval Kogman wrote:
On Tue, Jun 05, 2007 at 14:36:51 -0700, [EMAIL PROTECTED] wrote:
how do i declare loop through and print a 4 dim array in PERL
You listen in class. Or buy a book.
Sorry, but we're not here to do your homework, and this is not a
general Perl help mailing list.
You can also probably get by this far using some online tutorial.
Read perldoc perldata or
http://perldoc.perl.org/perldata.html#List-value-constructors-list
(online version).
Printing's trivial, and I'm pretty sure that allocation is the same
(depending on what approach you take). I wonder -- does Perl allocate
arrays optimizing for time (matrix-like) or space (nodes-like).
-Garrett