in reply to hash pointing to AoA

You can nest arbitrary data structures as long as you use references. See perlreftut and perldsc for more informations.
my @aoa = ([1, 2], [3, 4]); my %hash; $hash{foo} = \@aoa;