How to deal with arrays of arrays

You'll find here more than 30 topics regarding the using of the arrays of arrays, grouped in three parts, as follows:

Part 1:

  • How to use while to generate an array of arrays
  • How to use map to generate an array of arrays
  • How to generate an array of arrays from a csv file
  • How to generate an array of arrays from a text file
  • How to use for to traverse and print an array of arrays
  • How to use foreach to traverse and print an array of arrays
  • How to use grep to traverse and filter an array of arrays
  • How to use map to traverse and print an array of arrays
  • How to use while to traverse and print an array of arrays
  • How to access and modify the inner arrays elements

Part 2:

  • How to find the length of an array of arrays
  • How to find a specific string in all inner arrays
  • How to join into a string the elements of a particular inner array
  • How to join into a string the elements of a matrix column
  • How to turn each inner array into a string and get an array with all these strings
  • How to sort an array of arrays
  • How to sort a matrix by multiple columns
  • How to remove the first column from a matrix
  • How to remove the last column from a matrix
  • How to remove the first row from a matrix

Part 3:

  • How to remove the last row from a matrix
  • How to clear an array of arrays
  • How to insert a column at the beginning of a matrix
  • How to insert a row at the beginning of a matrix
  • How to append a column to a matrix
  • How to append a row to a matrix
  • How to read a text file and push into columns
  • How to replace or remove in a matrix a contiguous slice of columns
  • How to get slices from an array of arrays
  • How to copy an array of arrays – shallow vs deep
  • How to pass an array of arrays reference to a subroutine
  • How to deal with autovivification in an array of arrays

Use the menu items from the right side to access these topics.