Help for this page

Select Code to Download


  1. or download this
    # assuming pre-sorted as in OP:
    uniq file1 > file2
    
  2. or download this
    use Data::Dumper;
    print Dumper \%uniquelines;