title: How can I split up a text file and store it into a 2d array using Perl?
body: <pre><code>230215 01/16/2000 57533 "" 0 1045403 "" ? 0 0 217623
  
  230215 01/18/2000 77659 "" 0 1045403 "" ? 0 0 217624
  
  230215 01/25/2000 76583 "" 0 1045403 "" ? 0 0 217625
  
  230215 01/29/2000 58082 "" 0 1045403 "" ? 0 0 217626
  
  230216 01/14/2000 50020 "" 0 1045403 "" ? 0 0 217627
  
  230216 01/18/2000 66444 "" 0 1045403 "" ? 0 0 217628
  
  230216 01/19/2000 51330 "" 0 1045403 "" ? 0 0 217629
  </code></pre>
  
  <p>All of the fields are separated by spaces, I need to store this into a 2d array. There are actually 5 million lines like these. For example, i would want to store this into an array like $arr[7][11], because there are 7 lines and 11 values in each line.</p>