in reply to assigning value of a key in a hash to a variable while dereferencing

See perlref in general, and Using References section 3 in particular for discussion of use of the  -> (arrow) operator in dereferencing (and also see perlop). See also perldsc for (much!) more complex structures.


Give a man a fish:  <%-{-{-{-<