keys # take keys of following HASH %{ # dereference HASHREF { # construct HASHREF from list func() # returns list } }