http://www.perlmonks.org?node_id=1042502


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.