- or download this
%hash
$id
...
subkey3 => (scalar)
}
list_1 = [ ]
- or download this
my $value = $hash{$id}{$position}{type_a}{subkey2};
- or download this
my $value = get_typea_sk2( $id, $position );
...
{
return $hash{$id}{$position}{type_a}{subkey2};
}
- or download this
%hash
$id => $objref
- or download this
%hash
$id
$position => $objref
$position => $objref
- or download this
my $obj = get_object( $id, $position );
# use methods on $obj to get data
...
{
return $hash{ $_[0] }{ $_[1] };
}