title: Count Unique Items in Text File Using Perl
body: <p>I have a text file with thousands of names listed First Name | Last Name.  Any examples on how to use Perl to count only the unique last names?</p>
  
  <p>I am already doing a standard count using $count++ to get the grand total, but I still need to know a unique count.</p>
  
  <p>Thanks for any suggestions!</p>