in reply to When will a key shared between two hashes?

AFAIK, keys are always shared. It's an implementation detail that isn't visible from the language.
  • Comment on Re: When will a key shared between two hashes?

Replies are listed 'Best First'.
Re^2: When will a key shared between two hashes?
by gyhor (Initiate) on Dec 10, 2011 at 11:34 UTC
    If keys are always shared, they should use the same memory-address, or not?
      If keys are always shared, they should use the same memory-address, or not?
      Sure, but you cannot get the memory address of a hash key from the language. Do note that hash keys are not SVs.
        ok, thank you for the answer.