in reply to Re: Is it safe to use join on a hash?
in thread Is it safe to use join on a hash?

Hi David, Thanks. And I forgot to mention but I wanted to extract unique elements only. Still, your answer clears a lot of doubts.
Thanks once again.
  • Comment on Re^2: Is it safe to use join on a hash?

Replies are listed 'Best First'.
Re^3: Is it safe to use join on a hash?
by AnomalousMonk (Archbishop) on Sep 07, 2020 at 22:09 UTC

    The keys returned by keys are unique. The keys of a hash are always unique.


    Give a man a fish:  <%-{-{-{-<

      The keys returned by keys are unique. The keys of a hash are always unique.

      Nitpick: Except for tied hashes :-)