"be consistent" | |
PerlMonks |
Compare arrays remove identicalby cdherold (Monk) |
on May 02, 2001 at 01:15 UTC ( [id://77133]=perlquestion: print w/replies, xml ) | Need Help?? |
cdherold has asked for the wisdom of the Perl Monks concerning the following question:
fellow monks,
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
Back to
Seekers of Perl Wisdom
|
|