title: Perl: Good way to test if a value is in an array?
body: <p>If I have an array: </p>
  
  <pre><code>@int_array = (7,101,80,22,42);
  </code></pre>
  
  <p>How can I check if the integer value 80 is in the array without looping through every element?</p>