in reply to Re: 5.26 sigil reference syntax in subfunction
in thread 5.26 sigil reference syntax in subfunction
What you wrote is not what I am doing. What you suggest produces errors, which I said in the original post: Omitting the ->%* produces an error "Experimental keys on scalar is now forbidden" and if I omit the leading % it says the global symbol $hash is not defined. ... After further testing, with the $${}{} assignment I can get the keys inside the function using %{ $$hash{'key'} } or $$hash{'key'}->%*
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: 5.26 sigil reference syntax in subfunction
by BillKSmith (Monsignor) on Nov 01, 2017 at 20:42 UTC | |
by kcott (Archbishop) on Nov 02, 2017 at 05:36 UTC | |
by chenhonkhonk (Acolyte) on Nov 02, 2017 at 18:49 UTC | |
by BillKSmith (Monsignor) on Nov 06, 2017 at 13:23 UTC |