in reply to Re: How can I make a string unique (quicker than my approach at least)
in thread How can I make a string unique (quicker than my approach at least)

Maybe somebody who is more knowledgeable can explain how this works

I think the FAQ explains it quite well. I would always look there first in preference to StackOverflow anyway.


🦛

  • Comment on Re^2: How can I make a string unique (quicker than my approach at least)

Replies are listed 'Best First'.
Re^3: How can I make a string unique (quicker than my approach at least)
by eyepopslikeamosquito (Archbishop) on Apr 03, 2024 at 09:17 UTC

    Agreed.

    Curiously, in this case the top answer at StackOverflow points to the identical faq link you pointed to ... while the second top answer cites perldoc -q duplicate (which emits identical content) and then further goes to the bother of embedding verbatim brian_d_foy's excellent FAQ entry in the SO response! ... so you'd think harangzsolt33 must have seen it (or requires a new pair of glasses) ... maybe he can comment further to clear up this mystery. :)

    👁️🍾👍🦟