title: How to avoid pushing duplicate values into a Perl array
body: <p>I need to add unique elements in an array from inputs which contain several duplicate values.</p>
  
  <p>How do I avoid pushing duplicate values into an Perl array?</p>