|
|
| Welcome to the Monastery | |
| PerlMonks |
Determining if an element is already in an array.by ithron (Acolyte) |
| on Feb 01, 2000 at 16:14 UTC ( #2654=perlquestion: print w/ replies, xml ) | Need Help?? |
|
ithron has asked for the
wisdom of the Perl Monks concerning the following question:
Besides some convoluted foreach loop, is there a way to determine if an element is already in an array before adding said element to the array?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||