Help for this page

Select Code to Download


  1. or download this
    my %seen_values;
    for my $aref (@array_of_arrayrefs) {
      $aref = [ map { $seen_values{$_}++ ? () : $_ } @$aref ];
    }
    
  2. or download this
    my %seen_values;
    my @new_AofA = map { $seen_values{$_->[0]}{$_->[1]}++ ? () : $_ } @Aof
    +A;