$hash{entry} = "will get lost"; $hash{entry} = "this will replace it"; print $hash{entry}; #### die "Error: duplicate value for $key\n" if exists $hash{$key}; $hash{$key} = $value;