in reply to Re: using references as keys in a hash.
in thread using references as keys in a hash.

They are only unique as long as the variable(s) exist. If they are garbage collected, Perl will reuse the memory for it, and it could be a new reference stringifies to the same value as the old one.

Abigail

  • Comment on Re: using references as keys in a hash.