.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "Lintian::Deb822::Section 3" .TH Lintian::Deb822::Section 3 2024-02-05 "Lintian v2.117.0" "Debian Package Checker" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME Lintian::Deb822::Section \-\- A paragraph in a control file .SH SYNOPSIS .IX Header "SYNOPSIS" .Vb 1 \& use Lintian::Deb822::Section; .Ve .SH DESCRIPTION .IX Header "DESCRIPTION" Represents a paragraph in a Deb822 control file. .SH "INSTANCE METHODS" .IX Header "INSTANCE METHODS" .IP legend 4 .IX Item "legend" Returns exact field names for their lowercase versions. .IP verbatim 4 .IX Item "verbatim" Returns a hash to the raw, unedited and verbatim field values. .IP unfolded 4 .IX Item "unfolded" Returns a hash to unfolded field values. Continuations lines have been connected. .IP positions 4 .IX Item "positions" The original line positions. .IP "trimmed_list(FIELD [, SEPARATOR])" 4 .IX Item "trimmed_list(FIELD [, SEPARATOR])" .PD 0 .IP "unfolded_value (FIELD)" 4 .IX Item "unfolded_value (FIELD)" .PD 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 *.dsc file; for a binary package, this is the control file in the control section of the package. .Sp If FIELD is passed but not present, then this method returns undef. .IP "value (FIELD)" 4 .IX Item "value (FIELD)" If FIELD is given, this method returns the value of the control field FIELD. .IP "untrimmed_value (FIELD)" 4 .IX Item "untrimmed_value (FIELD)" If FIELD is given, this method returns the value of the control field FIELD. .IP "text (FIELD)" 4 .IX Item "text (FIELD)" .PD 0 .IP "store (FIELD, VALUE)" 4 .IX Item "store (FIELD, VALUE)" .IP "drop (FIELD)" 4 .IX Item "drop (FIELD)" .IP "declares (NAME)" 4 .IX Item "declares (NAME)" .PD Returns a boolean for whether the named field exists. .IP names 4 .IX Item "names" Returns an array with the literal field names. .IP literal_name 4 .IX Item "literal_name" Returns an array with the literal, true case field names. .IP position 4 .IX Item "position" With an argument, returns the starting line of the named field. .Sp Without an argument, return the starting line of the paragraph. .IP extra 4 .IX Item "extra" .SH AUTHOR .IX Header "AUTHOR" Originally written by Felix Lechner for Lintian. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBlintian\fR\|(1)