in reply to Reference as a hash key
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reference as a hash key (bless hack)
by LanX (Saint) on Aug 25, 2009 at 19:22 UTC | |
by Anonymous Monk on Aug 26, 2009 at 12:23 UTC |