in reply to how to $hash{key}{@keys} = @values

@{$hash{key}}{@keys} = @values

Dave.

Replies are listed 'Best First'.
Re^2: how to $hash{key}{@keys} = @values
by rduke15 (Beadle) on Apr 10, 2005 at 16:20 UTC
    Thanks a lot! I thought I had tried all the possible incantations, but I had missed this one. It even makes sense, now that I see the solution.
      It more than makes sense, it's readily derivable. First, take the basic form of access you want, in this case a hash slice: @hash{@keys}, then replace the variable name (but leave the sigil) with an expression for the reference in curly braces: hash becomes {$hash{key}}, leaving @{$hash{key}}{@keys}.

      I'd recommend taking a peek at References quick reference.