in reply to Re^2: Let's unite sets
in thread Let's unite sets
Certainly. Notice that the hash keys are "stringified objects", which include a memory locations, like this:
So objects are considered equal only if their "stringifications" match. You still recover the original object from the corresponding hash value.% perl -le 'print bless +{}, "Foo"' Foo=HASH(0x814cbb8)
the lowliest monk
|
|---|