P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
However, this claim would imply that stringification defines a bijection between objects and their hash keys.
Ergo, hash keys are all you need! ;-) in theory yes, practically no. There is no pure perl way to get the ref from the stringification, as long the relation is stored in a hash (sic). And yes collisions can happen, when strings and references are mixed into one set...then resulting into the need of a specialized stringification. Cheers Rolf In reply to Re^8: Using hashes for set operations...
by LanX
|
|