Help for this page

Select Code to Download


  1. or download this
    $hsh{k1}{k2}{k3}{k4}=v1;
    $hsh{k1}{k9}{k3}{k33}=v2;
    ....
    
  2. or download this
    if ( $hsh{ch1}{ch2}{ch3} ) {  ...something... }
    
  3. or download this
    if ( $hsh{ch1} && $hsh{ch1}{ch2} && $hsh{ch1}{ch2}{ch3} ) 
    {...}
    
  4. or download this
      DB<4> $h{a}{b}=[1,2]; $h{a}{c}=[3,4]  #hash with two elements (array
    +s) and in 2 levels
    
    ...
            };
    
      DB<9> delete $h{p}