title: Perl: Slice an array, without creating a whole new array
body: <p>I have a reference to an big array, and some of the elements (from some index to the end) need to get used to insert new rows in a DB.</p>
  
  <p>Is there anyway I can create a reference to part of a bigger array?
  Or another way I can use a part of a array with DBI's execute_array function, without having Perl copy loads of data in the background?</p>
  
  <p>Here's what I want to do more efficiently:</p>
  
  <pre><code>$sh-&gt;execute_array({}, [ @{$arrayref}[@indexes] ]);
  </code></pre>