Further to Corion's reply: What you have provided in your reply is not a Short, Self Contained, Correct (Compilable), Example (SSCCE), but some kind of pseudo-code. Please see how hippo defined @AoA in the SSCCE given here:
my @AoA = (
['first word', 'greek latin'],
['alpha omega', 'beta test']
);
This is the sort of thing we'd like to see from you. Please remember to provide a similar compilable definition for
@other_array and for your expected output. Again, please help us to help you.
Please see How do I post a question effectively? and How (Not) To Ask A Question.
Give a man a fish: <%-{-{-{-<