my @C; OUTER: for ( @A ) { for my $pat ( @B ) { if ( /\Q$pat/i ) { next OUTER; } } push @C, $_; }
In reply to Re: How Do I Compare Array A to Array B, removing B elements from A.
by merlyn
in thread How Do I Compare Array A to Array B, removing B elements from A.
by fuzzball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |