This one calls get_addr and prints its return value, which is a reference to add_attrib, not a reference to get_addr. The other two print references to get_addr without calling it.
In reply to Re: How can the same sub have 2 different references
by dsheroh
in thread RESOLVED: How can the same sub have 2 different references
by Bloodnok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |