in reply to Is this the correct structure?
Is this correct code?
No. To find out yourself, you can do something like
use Data::Dumper; print Dumper \@AoA;
and you'll see that @AoA doesn't have the structure you want.
In Section
Seekers of Perl Wisdom