Help for this page

Select Code to Download


  1. or download this
    my @common = grep { $_ if exists $hash2{$_} } keys %hash1;
    
  2. or download this
    my @unique1 = grep { $_ unless exists $hash2{$_} } keys %hash1;
    
  3. or download this
    my @unique2 = grep { $_ unless exists $hash1{$_} } keys %hash2;