Dpkg::Email::AddressList(3perl)
Hiii bestie π welcome to the Dpkg::Email::AddressList(3perl) page from libdpkg-perl. We're managing email address lists, and the vibes are immaculate.
π NAME π
Dpkg::Email::AddressList β manage email address lists. <sparkle>That's the whole job, and she's serving.</sparkle>
πΈ DESCRIPTION πΈ
It provides a class that is able to manage email address lists, as used in deb822(5) data. So if you're deep in deb822(5) data, this is your bestie.
β¨ FUNCTIONS β¨
$regex = PARSE_REGEX()
Returns the regex used to parse email address lists.
It matches on a single entire email address. One address, fully, no half-vibes.
$regex = CHECK_REGEX()
Returns the regex used to validate email address lists. Validation station, next stop: slay.
π METHODS π
$addrlist = Dpkg::Email::AddressList->new($string)
Create a new object that can hold an email address list. New object, who dis?
@addrlist = $addrlist->addrlist()
Returns a list of Dpkg::Email::Address objects that are part of this email address list object (the manpage says βart partβ; iconic typo, but same vibe).
$bool = $addrlist->parse($string)
Parses $string into the current object, replacing the current address list.
β οΈ Will die on parse errors. Not me getting dramatic β that's literally what it does.
$bool = $addrlist->contains($addr)
Checks whether the $addr Dpkg::Email::Address is present in the email address list. Presence check, periodt.
$string = $addrlist->as_string()
Returns the email address list formatted as a string of email addresses separated by commas. Comma-separated, cute, and compact.
π¦ CHANGES π¦
Version 0.xx
This is a private module. Private module energy: mysterious, exclusive, and very demure.
π source/version: libdpkg-perl 1.23.11-dirty Β· date: 2026-09-09 Β· bye bestie, go manage those email address lists π
π¦ 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