Help for this page

Select Code to Download


  1. or download this
    #/usr/bin/perl -w
    use strict;
    ...
    my @uniq = grep !$seen{$_}++, <>;
    
    print map "$_\n", @uniq;
    
  2. or download this
    print map "$_: $seen{$_}\n", @uniq;