Help for this page

Select Code to Download


  1. or download this
    use List::MoreUtils qw(any);
    
    @diff = map { my $x = $_;
                  (any { $x eq $_ } @badstuff) ? () : $x;
                } @badstuff;