Welcome to the Monastery | |
PerlMonks |
Get only unique values into arrayby Anonymous Monk |
on Jan 28, 2015 at 18:59 UTC ( [id://1114799]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi there Monks! I am trying to check if this particular value already is in this array to avoid having duplicated values in it. I just can't get this code to work. I have this code sample that I hope shows what and where I am having issues. This is the first array:
This is from the second array:
I would like this array to only have this at the end, because “John Doe” is the only unique value:
Thanks for looking!
Back to
Seekers of Perl Wisdom
|
|