![]() |
|
Think about Loose Coupling | |
PerlMonks |
How Do I Compare Array A to Array B, removing B elements from A.by fuzzball (Initiate) |
on Mar 21, 2002 at 19:50 UTC ( #153402=perlquestion: print w/replies, xml ) | Need Help?? |
fuzzball has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (arrays)
I need to take a array of URL's in @A, compare it to a array of "banned" domain names in @B,
and either remove matches from @A, or put non-matches into a new array, @C.
Given example data:
@A (or @C) should end up with only 'altavista.com'. Clearly, it is has to match with patterns, not just exact string equality. Originally posted as a Categorized Question.
Back to
Seekers of Perl Wisdom
|
|