cdherold has asked for the wisdom of the Perl Monks concerning the following question:
I have two array's ... @kansas and @oklahoma. I want to compare the two arrays, determine identical content and then remove that content from @kansas.
The problem (for me) is how to find identical content.
Once I find the identical content I intend to remove it using splice() function.
Any ideas on how to get the identical content between the two arrays?
thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Compare arrays remove identical
by wardk (Deacon) on May 02, 2001 at 01:24 UTC | |
|
Re: Compare arrays remove identical
by perlmonkey (Hermit) on May 02, 2001 at 11:26 UTC |