Help for this page

Select Code to Download


  1. or download this
    my %hist;
    while (<DATA>) {
    ...
      my ($col0, @element) = split;
      $hist{$col0}{$_}++ for @element;
    };
    
  2. or download this
    my %seen = ();
    for my $element (keys(%hist1), keys(%hist2)) {
        $seen{$element}++;
    }
    my @uniq = keys %seen;