perl hash reference new value code example Example: perl hash ref create $hashref = { 'Adam' => 'Eve', 'Clyde' => 'Bonnie', };