⭐ in reply to How do I reverse an array of arrays?
Second, "reverse" along what axis? The top level is simple:
@reversed = reverse @array;
The second level is also pretty easy:
And you can add a reverse ahead of map to do them both.@second_level_reversed = map [reverse @$_], @array;
|
|---|