title: How can I find elements that are in one array but not another in Perl?
body: <p>I have two arrays and I want to find elements that are in one array but not another:</p>
  
  <p>ex:</p>
  
  <pre><code>@array1 = ("abc", "cde", "fgh", "ijk", "lmn")
  @array2 = ("abc", "fgh", "lmn")
  </code></pre>
  
  <p>I need to end up with:</p>
  
  <pre><code>@array3 = ("cde", "ijk")
  </code></pre>