Dpkg::Contr...shCore::Tie(3perl)
π NAME π
Dpkg::Control::HashCore::Tie β the little module that ties a Dpkg::Control::Hash object π
(yes bestie, it's from libdpkg-perl, section 3perl, we love a perl era icon)
β¨ DESCRIPTION β¨
Okay so picture this: this module hands you a class whose whole job is tying a hash π«Ά. It pulls off all your fave hash-like functions by normalizing the name of fields it receives in keys β and it does that with Dpkg::Control::Fields::field_capitalize(), no cap.
It also lowkey keeps receipts: it stores the order in which fields have been added, so it can dump them back out in that exact same order later. Iconic behavior, truly. But heads up β that order info isn't even stored here, it lives in a parent object of type Dpkg::Control. Main character energy in a whole other file, honestly.
Note: this is a private module, and its API can change at any time π so don't get too attached to the current vibe, fr fr.
πΈ FUNCTIONS πΈ
$ctrl = Dpkg::Control::Hash->new($parent)β returns a reference to a tied hash that implements storage of simple"field: value"mappings, exactly the kind used all over the place in many Debian-specific files π your favefield: valuemoment, now hash-shaped.
π¦ CHANGES π¦
Version 0.xx
This is a private module π that's it, that's the change log, she's mysterious, she's private, periodt.
k bye bestie, go normalize some field names π β¨
signing off from libdpkg-perl, version 1.23.11-dirty, dated 2026-09-09 ππ«Ά
π¦ where this page comes from
- arch rolling: dpkg 1.23.11-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms