Help for this page

Select Code to Download


  1. or download this
    use strict;
    
    ...
    my @b = (2,3,13,14,17);
    
    @a = do{my %i; undef @i{@a}; delete @i{@b}; sort {$a<=>$b} keys %i};
    
  2. or download this
    
    use strict;
    ...
        (grep /^$i$/, @b) ? () : $i ;
        }@a;