Keep It Simple, Stupid | |
PerlMonks |
Re: array comparison questionby injunjoel (Priest) |
on Aug 23, 2005 at 18:14 UTC ( [id://485978]=note: print w/replies, xml ) | Need Help?? |
Greetings all, Update After re-reading the OP I have modified the following code to only identify those elements that are not unique to only one list and are not found in all lists. This has the benefit of not hard-coding in '2' as a comparison since this logic may need to be extended to more lists in the future.
Output is
-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo
In Section
Seekers of Perl Wisdom
|
|