As you can see the ref of the arrays and hashes depend on the codeposition while the refs of the scalars are not ...
The only thing you've passed to pr is scalars. You never pass an array or hash, just references to them. It's not even possible to pass arrays or hashes to subroutines. That means you're wrong about having printed refs to arrays (ARRAY(0x...)) and refs to hashes (HASH(0x...)). The only thing you've printed are references to scalars.
It should read:
As you can see the ref of the refs depend on the codeposition while the refs of the constants are not ...
Now, what's your question?
In reply to Re: Reference of constants and literals
by ikegami
in thread Reference of constants and literals
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |