But that's doing the same thing. From
perldsc
If you want to get at the thing a reference is
referring to, then you have to do this yourself using either prefix typing indicators,
like
${$blah}, @{$blah}, @{$blah[$i]}
, or else postfix pointer arrows, like
$a->[3], $h->{fred}, <i>or even</i> $ob->method()->[3].
If you set the hash:
$evilhash->{1} = { ...
and deref:
@{$evilhash->{1}}{@colors})
Then that's the same as setting the hash:
$evilhash{$id} = { ...
and deref:
@{$evilhash{$id}}{@colors}
No?