Help for this page

Select Code to Download


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