Help for this page

Select Code to Download


  1. or download this
    push @{$alldata{$key }}, \%temphash
    
  2. or download this
    $hash{$key} = \%temphash;       # $hash{$key} is a reference to %temph
    +ash
    $hash{$hey} = \@array;          # $hash{$key} is a reference to @array
    $hash{$key} = {KEY => 'value'}; #$hash{$key} is a reference to an anon
    +ymous hash
    $hash{$key} = [1,2,3];          #$hash[$key] is a reference to an anon
    +ymous array