An even better way than using ref() is to use &reftype and &refaddr in Scalar::Util.
ihb
See perltoc if you don't know which perldoc to read!
Read argumentation in its context!
In reply to Re^2: How to get the variable or function address in memory?
by ihb
in thread How to get the variable or function address in memory?
by hash
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |