Perldsc

PERLDSC(1) Perl Programmers Reference Guide PERLDSC(1)

Perldsc

PERLDSC(1) Perl Programmers Reference Guide PERLDSC(1) # PERLDSC(1) Perl Programmers Reference Guide PERLDSC(1) NNAAMMEE # perldsc - Perl Data Structures Cookbook DDEESSCCRRIIPPTTIIOONN # Perl lets us have complex data structures. You can write something like this and all of a sudden, you'd have an array with three dimensions! for my $x (1 .. 10) { for my $y (1 .. 10) { for my $z (1 .. 10) { $AoA[$x][$y][$z] = $x ** $y + $z; } } } Alas, however simple this may appear, underneath it's a much more elaborate construct than meets the eye! ...