Lintian::Deb822::Section(3)
π Lintian::Deb822::Section(3) π
okay bestie, so this is a page from the Lintian manual β Lintian being the Debian Package Checker β and specifically it's the section-3 page for Lintian::Deb822::Section. Yes, section 3, the library-functions girlies. Pull up a chair, we're doing Perl module lore today π«Ά
β¨ NAME β¨
Lintian::Deb822::Section β a paragraph in a control file. that's it, that's the whole vibe π
πΈ SYNOPSIS πΈ
use Lintian::Deb822::Section;
literally one line. she's low-maintenance like that β¨
π¦ DESCRIPTION π¦
so basically this class represents a paragraph in a Deb822 control file. one paragraph = one object. that's the whole concept, no cap π
π INSTANCE METHODS π
these are the methods you call on an actual instance, i.e. on one of those paragraph objects. let's go one by one, no skipping, I promised π
legendβ returns exact field names for their lowercase versions. so you hand it the lowercase version and it gives you the real casing back. cute little lookup table energy π₯verbatimβ returns a hash to the raw, unedited and verbatim field values. untouched, unfiltered, exactly as the file wrote it. main character, no edits πunfoldedβ returns a hash to unfolded field values. continuation lines have been connected. so like, the multi-line stuff got stitched back together into one string π§΅positionsβ the original line positions. where everything actually sat in the file, for the girlies who need to know πtrimmed_list(FIELD [, SEPARATOR])unfolded_value (FIELD)β this method returns the unfolded value of the control field FIELD in the control file for the package. for a source package, this is the*.dscfile; for a binary package, this is the control file in the control section of the package. if FIELD is passed but not present, then this method returnsundef. so yeah, be ready for thatundef, bestie, check before you use it π
heads up:trimmed_listandunfolded_valueare listed together in the original and share that one description. I'm not out here inventing extra lore fortrimmed_listβ if the source doesn't say it, I don't say it, fr fr.
value (FIELD)β if FIELD is given, this method returns the value of the control field FIELD. that's the whole sentence. girl is concise and we respect it πuntrimmed_value (FIELD)β if FIELD is given, this method returns the value of the control field FIELD. yes it's the same sentence asvalue, that's just how the page is written, don't @ me πtext (FIELD)store (FIELD, VALUE)drop (FIELD)β okay so these three are just sitting there in the original with zero description attached. iconic and mysterious. I am NOT making up behaviour for them, that would be a lie and lies are not the vibe β¨declares (NAME)β returns a boolean for whether the named field exists. so basicallytrueorfalse, does it exist, yes or no, vibe check on the field πnamesβ returns an array with the literal field names. a whole list, bestie πliteral_nameβ returns an array with the literal, true case field names. the exact casing, the original typography, the way it was truly written πpositionβ with an argument, returns the starting line of the named field. without an argument, returns the starting line of the paragraph. two modes, one method, she contains multitudes πextraβ and that's it. no description provided in the original. she's just there, existing, serving cunt and saying nothing π§
π AUTHOR π
originally written by Felix Lechner <felix.lechner@lease-up.com> for Lintian. thank you Felix, we appreciate you π«Ά
π SEE ALSO π
and that's the page!! this was Lintian v2.139.0ubuntu2, dated 2026-10-08, and the whole thing is the Lintian::Deb822::Section(3) manual. periodt π β¨π
π¦ where this page comes from
- ubuntu stonking: lintian 2.139.0ubuntu2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms