Problems? Is your data what you think it is? | |
PerlMonks |
Re: to pick the common element in the arrayby dorko (Prior) |
on Oct 17, 2008 at 13:28 UTC ( [id://717730]=note: print w/replies, xml ) | Need Help?? |
Personally, I like List::Compare:
Also, use strict; and use warnings; caught the typos you made in defining the arrays. Cheers,
Brent
-- Yeah, I'm a Delt.
In Section
Seekers of Perl Wisdom
|
|