Help for this page

Select Code to Download


  1. or download this
    my @file1 = <FILE1>;
    my @file2 = <FILE2>;
    ...
            print FILE3 "$value\n";
        }
    }
    
  2. or download this
    # Using the same data structures as above ...
    foreach my $value (sort keys %file2) {
    ...
            print FILE3 "$value\n";
        }
    }
    
  3. or download this
    my (%file1, %file2);
    $file1{$_}++ foreach @file1;
    $file2{$_}++ foreach @file2;