|
|
| Just another Perl shrine | |
| PerlMonks |
Re: to pick the common element in the arrayby dorko (Parson) |
| on Oct 17, 2008 at 13:28 UTC ( #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
|
|
||||||||||||||||||||