in reply to Re^2: passing array ref without variable
in thread passing array ref without variable
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: passing array ref without variable
by vit (Friar) on May 03, 2010 at 21:07 UTC | |
by FunkyMonk (Bishop) on May 03, 2010 at 21:15 UTC | |
by LanX (Saint) on May 03, 2010 at 21:26 UTC | |
by Anonymous Monk on May 04, 2010 at 00:50 UTC | |
by LanX (Saint) on May 04, 2010 at 06:26 UTC | |
by Anonymous Monk on May 04, 2010 at 06:36 UTC | |
|