http://www.perlmonks.org?node_id=1202538


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'}->%*