Help for this page

Select Code to Download


  1. or download this
    my %ih;
    
    ...
    
    print 
      for grep { keys %{$ih{$_}} > 1 } keys %ih;
    
  2. or download this
    while ( my($key,$val) = each %hash ) {
      $ih{$val}{$key}++;
    }