Help for this page

Select Code to Download


  1. or download this
    # Takes a hash reference and a list of key/value pairs.
    # Assigns those keys to those values in the hash
    ...
        $h_ref{$key} = $value;
      }
    }
    
  2. or download this
    add_to_hash(\%my_hash,
      key1 => "value1",
      key2 => "value2",
      # ...
    );