in reply to A Matrix of Arrays

All you need is:

$table->[$row][$col] = \@foo;
to be dereferenced by:
my $foo = $table->[$i][$j][$k];

After Compline,
Zaxo