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

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.
  • Comment on Re^2: how to $hash{key}{@keys} = @values

Replies are listed 'Best First'.
Re^3: how to $hash{key}{@keys} = @values
by ysth (Canon) on Apr 10, 2005 at 22:52 UTC
    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.