Help for this page

Select Code to Download


  1. or download this
    for my $k ( keys %harry ) {
       my $a1 = $harry{$k};
    ...
          ...
       }
    }
    
  2. or download this
    for my $k ( keys %harry ) {
       my $a1 = $harry{$k};
    ...
       @$a1 = map $a1->[$_], grep !$delete_a1{$_}, 0..$#$a1;
       @$a2 = map $a2->[$_], grep !$delete_a2{$_}, 0..$#$a2;
    }
    
  3. or download this
    for my $k ( keys %harry ) {
       my $a1 = $harry{$k};
    ...
       @$a1 = map $a1->[$_], grep !$delete_a1{$_}, 0..$#$a1;
       @$a2 = map $a2->[$_], grep !$delete_a2{$_}, 0..$#$a2;
    }
    
  4. or download this
    for my $k ( keys %harry ) {
       my $a1 = $harry{$k};
    ...
       @$a1 = grep $seen{$_}>1, @$a1;
       @$a2 = grep $seen{$_}>1, @$a2;
    }