We don't bite newbies here... much | |
PerlMonks |
Re: Clarify: How do I find if an array has duplicate elements, if so discard it?by BrowserUk (Patriarch) |
on Jul 14, 2002 at 03:18 UTC ( [id://181550]=note: print w/replies, xml ) | Need Help?? |
Depending how your building your data structure, it might make more sense to only add an array to @D, if that array has no duplicates. It being easier to not add it than to later remove it.
In Section
Seekers of Perl Wisdom
|
|