---
name: "Dpkg::Control::HashCore::Tie"
section: "3perl"
platform: "linux"
package: "dpkg"
version: "1.23.11-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Dpkg::Control::HashCore::Tie"
---

# Dpkg::Control::HashCore::Tie(3perl)

ties a Dpkg::Control::Hash object

## NAME

Dpkg::Control::HashCore::Tie - ties a Dpkg::Control::Hash object

## DESCRIPTION

This module provides a class that is used to tie a hash. It implements hash-like functions by normalizing the name of fields received in keys (using **Dpkg::Control::Fields::field\_capitalize()**). It also stores the order in which fields have been added to be able to dump them in the same order. But the order information is stored in a parent object of type Dpkg::Control.

**Note**: This is a private module, its API can change at any time.

## FUNCTIONS

- $ctrl = Dpkg::Control::Hash-\>new($parent)

  Return a reference to a tied hash implementing storage of simple "field: value" mapping as used in many Debian-specific files.

## CHANGES

### Version 0.xx

This is a private module.
