my $ref:shared = {}; #### $ref->{a}[0] = something; $ref->{a}[1] = somethingelse; #### my $ref:shared = someobj::new();