Perl-Sensitive Sunglasses | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I think that is probably the clearest way to do it. Here's a way (which I'm not 100% works 100% of the time) that operates on the original list... but as you can see, it's nowhere near as clear:
I would stick with something similar to what you have above - it's easy to read, follow and maintain. Although I'm sure someone else can think of an uber-elegant solution :)
-------------- It's sad that a family can be torn apart by such a such a simple thing as a pack of wild dogs In reply to Re: Finding unique elements in an array
by RazorbladeBidet
|
|