in reply to what does $#AoA mean

It means last index of @test
my @test = 1 .. 4; warn scalar @test; warn $#test; __END__ 4 at - line 2. 3 at - line 3.

Replies are listed 'Best First'.