title: Passing variables to a Perl subroutine
body: <p>I would like to pass the following variables to subroutine mySubroutine, <code>$name, $age</code> and then this multidimensional array:</p>
  
  <pre><code>$name = "jennifer";
  $age = 100;
  
  $list[0][0] = "TEST NAME 2";
  $list[0][1] = "TEST GROUP 2";
  $[0][2] = 10;
  
  $[1][0] = "TEST NAME 2";
  $[1][1] = "TEST GROUP 2";
  $[1][2] = 2;
  </code></pre>
  
  <p>Subroutine:</p>
  
  <pre><code>sub mySubroutine
  {
  
  }
  </code></pre>
  
  <p>I have tried <code>$_[0]</code>, and <code>@_</code>, but I don't seem to get the variables passed to the subroutine correctly.</p>