in reply to Flatten sparse AoA

You (hopefully) meant
@flat = map { @$_ } grep { defined } @{$aoa};
and the answer is "no." If your array is truly sparse, you should implement it with a hash.