in reply to Re^2: How do I remove duplicate numeric elements of an array and preserve alphabetic elements?
in thread How do I remove duplicate numeric elements of an array and preserve alphabetic elements?

You said "I guess I don't know what is supposed to happen if say YOUSLAV appeared twice for 20055111 or whether that is even possible to occur" It's not possible for the term to appear twice with the number. His solution appears to work very well!
  • Comment on Re^3: How do I remove duplicate numeric elements of an array and preserve alphabetic elements?

Replies are listed 'Best First'.
Re^4: How do I remove duplicate numeric elements of an array and preserve alphabetic elements?
by Marshall (Canon) on Jun 07, 2018 at 14:30 UTC
    My question stands.
    Nothing in the spec precludes this.
    Nobody including me provides a coded solution for that situation.
    This was a "hey, what if x? question".

    I don't know what you mean by "His solution appears to work very well!"
    If you mean code from BrowserUk, my code is the same, with some minor style adjustments.
    I did that just to show a few nice Perl features.