Help for this page

Select Code to Download


  1. or download this
    OUTER: foreach my $item (@array){
        foreach my $subitem (@array2){
            next OUTER if($subitem eq $item);
        }
    }
    
  2. or download this
    foreach my $item (@array){
       next if(scalar(grep({$_ eq $item} @other_array)));
    }