title: How to jump iterator to point any other element of a list in foreach loop?
body: <p>I have a <code>foreach</code> loop something like</p>
  
  <pre><code>foreach my $ref_array (@$array1)
  </code></pre>
  
  <p>where <code>$array</code> is the result of reading an entire Excel sheet.</p>
  
  <p>Inside my loop <code>$ref_array</code> gets the value of each row in the sheet. Now I want to advance <code>$ref_array</code> such that it gets the value of next row of the spreadsheet. How shall I do it in the middle of the loop?</p>