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

It is for the theory. I was digging the last days in hv.c to understand the hash implementation for comparing it with the hash implementation in python. Everywhere (in the source, perl internals, etc.) is written, that keys are shared. but i didn't i find a way to "see" with a debugger or with Devel::Peek. So i am confused, if i understood it correctly.
  • Comment on Re^2: When will a key shared between two hashes?

Replies are listed 'Best First'.
Re^3: When will a key shared between two hashes?
by JavaFan (Canon) on Dec 11, 2011 at 20:33 UTC
    What were you expecting to see in the output of Devel::Peek? The output already shows the SHAREKEYS flag -- what else were you looking for?
      I thought, that with PEEK I have a simple way to see, that the keys are shared. The Flag SHAREKEYS is as far as i know, only die Indication that sharing is enabled. Thanks for your help!