[plug] Perl: Intersection of two arrays?

Derek Fountain derekfountain at yahoo.co.uk
Tue Jun 24 18:14:22 WST 2003


On Tuesday 24 June 2003 17:23, Trevor Phillips wrote:
> Given two arrays (in Perl) with string values, I need to derive an array of
> the elements in both. I'd like to do this quickly, too. ^_^

Try this rather spectacular URL:

http://www.perldoc.com/perl5.6/faq/perlfaq4.html#How-do-I-compute-the-difference-of-two-arrays---How-do-I-compute-the-intersection-of-two-arrays-

-- 
"...our desktop is falling behind stability-wise and feature wise to KDE 
...when I went to Mexico in December to the facility where we launched gnome, 
they had all switched to KDE3." - Miguel de Icaza, March 2003



More information about the plug mailing list