$rref->{FOO}->[5] = "bar"; $rref->{BAR}->[5] = "cat"; print "$rref->[5]";#gives the values "cat" & "bar" #also lists the sub-structures that contain #a [5] in an array (or some such)