call(\%hash)
If you explicitly want to pass the reference of a copy do this
call( { %hash } )
the { ... } returns a ref of an anonymous hash of the list expanded from %hash, i.e. the ref of a hashcopy!
Cheers Rolf
In reply to Re^3: passing array ref without variable
by LanX
in thread passing array ref without variable
by vit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |