go ahead... be a heretic | |
PerlMonks |
Re: Match string in arrayby polypompholyx (Chaplain) |
on Oct 03, 2005 at 19:09 UTC ( [id://497024]=note: print w/replies, xml ) | Need Help?? |
You probably want something like this: use a hash to record all the items in the first array, then grep for items in the second array that you haven't already seen:
Or, to avoid duplicates:
In Section
Seekers of Perl Wisdom
|
|