You could use Tie::RefHash which preserves the dereferencability of the hash key references (by storing them in a parallel array if I recall correctly.
Or you could use Devel::Pointer to unsmash the numbers from the keys back into usuable references. This requires that you remember what type of reference that you smashed in teh first place. Use with care :)
In reply to Re: How to dereference when hash key is referenece
by BrowserUk
in thread How to dereference when hash key is referenece
by ashokpj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |