@$hashref{@array};

One thing I remember finding useful in understanding
this sort of stuff is that the sigils (@, $, etc.) are more
binding (have a higher precedence, as it were), than
subscript parens. So you deal with them first.

So @ followed by other sigils is going to end up with
a bunch of dererences, and then be equivalent to @
not followed by other sigils. Then you are left with:

    @arraylikething{@anotherarraylikething}

the combination of @foo{@bar} (or where @bar is
just a list), is always a hash slice. And a hash slice
is simply more than one key being considered at
the same time, so it's just the multiple version of:

    $hash{foo}

hth.

Reply via email to