I assume you know that the stringification of a reference is a one-way-function ... if you ever need to know the corresponding ref you should consider, writing $hash{$ref} = $ref; instead.
(or using something like Tie::RefHash)
Cheers Rolf
In reply to Re: Reference as a hash key
by LanX
in thread Reference as a hash key
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |