Help for this page

Select Code to Download


  1. or download this
    my %bighash = (
         'A' => 1,
         'B' => 2,
         'C' => 3
    );
    
  2. or download this
    $bighash{'C'} = 'some new value';
    $bighash{'D'} = 4;
    
  3. or download this
    %bighash = ( %bighash,
         'C' => 'some new value',
         'D' => 4
    );