title: Create a multidimensional vector from a text file
body: <p>I have the following problem:</p>
  
  <p>I have a file that looks like:</p>
  
  <pre><code>1 2 4 5 7 8
  3 1 3 7 8 9 10 11
  2 4 1 3 5
  4 5 6 7
  </code></pre>
  
  <p>I want to create different vectors in which:</p>
  
  <pre><code>vector[0][0]=1 , vector[0][1]=2, ... , vector[1][0]=3, vector[1][1]=1 etc etc
  </code></pre>
  
  <p>I am still at the beginning and I tried with:</p>
  
  <pre><code>my $file = 'file.dat';
  open (INFO, $file);
  my @vector = &lt;INFO&gt;;
  close (INFO);
  </code></pre>
  
  <p>but it only creates an array that read what is contained in the file and do not confer to an exact position (as the result that I am expecting) the elements of the file.</p>