in reply to subroutine / dot operator / hash vlaue
Beyond what Anonymonk stated above, this appears to be an XY Problem. Please state what you're trying to achieve here.
ie. in the second example, you're implanting a reference to the function instead of having it evaluate and placing its value. Why?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: subroutine / dot operator / hash vlaue [coderef vs. scalarref]
by kcott (Archbishop) on Dec 10, 2015 at 08:25 UTC |