Dpkg::Control::HashCore::Tie(3perl) libdpkg-perl Dpkg::Control::HashCore::Tie(3perl)

# [NAME](#NAME)

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

# [DESCRIPTION](#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](#FUNCTIONS)

$ctrl = Dpkg::Control::Hash-&gt;new($parent)

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

# [CHANGES](#CHANGES)

## [Version 0.xx](#Version_0.xx)

This is a private module.

2026-09-09 1.23.11-dirty

---

Document: Dpkg::Control::HashCore::Tie(3perl) from dpkg 1.23.11-r0 (Chainguard OS)
Source: https://git.dpkg.org/git/dpkg/dpkg.git
