more useful options | |
PerlMonks |
Re: Getting the intersection of n collections.by lima1 (Curate) |
on Oct 11, 2006 at 12:10 UTC ( [id://577594]=note: print w/replies, xml ) | Need Help?? |
If the array may NOT have the same value multiple times, then this (intersect is taken and slightly modified from the perl cookbook-one must be careful these days ;) ) should work:
UPDATE: only works for unduplicated items!
In Section
Seekers of Perl Wisdom
|
|