If you print a reference it is converted to a scalar context and the memory location is printed, ex:
my $f = { 'foo' => 'bar' };
HASH(0x98e6de8)
Does anyone know if 0x98e6de8 is the actual memory location in RAM?
I am running into a problem where two hashes (objects) seem to occupy the same memory location when printed out like the above example but in different simultaneous processes. It almost seems like the address listed is a mapped address.
my $f = { 'foo' => 'bar' };
HASH(0x98e6de8)
Does anyone know if 0x98e6de8 is the actual memory location in RAM?
I am running into a problem where two hashes (objects) seem to occupy the same memory location when printed out like the above example but in different simultaneous processes. It almost seems like the address listed is a mapped address.