Help for this page

Select Code to Download


  1. or download this
      my @good = grep {
        my $yes = $_;
        !grep $_ == $yes, @notgood; 
    } @goodarray;
    
  2. or download this
    my @good = grep {
        my $yes = $_;
        !first {$_ == $yes} @notgood;
    } @goodarray;
    
  3. or download this
    my @good = grep { not @notgood ~~ $_ } @goodarray;