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

Dpkg::Control::HashCore::Tie3perl

Ties a dpkg::control::hash object

Overview

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.

Releases

2 releases since Debian 13 (Trixie); the text changed 1 time.

  1. 13
  2. Arch

From dpkg 1.23.11-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.