.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.48) .\" .\" 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 .\" .\" Required to disable full justification in groff 1.23.0. .if n .ds AD l .\" ======================================================================== .\" .IX Title "Config::MVP::Sequence 3" .TH Config::MVP::Sequence 3 2026-10-26 "perl v5.44.0" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH DESCRIPTION .IX Header "DESCRIPTION" A Config::MVP::Sequence is an ordered set of configuration sections, each of which has a name unique within the sequence. .PP For the most part, you can just consult Config::MVP to understand what this class is and how it\*(Aqs used. .PP This attribute is true if the sequence has been marked finalized, which will prevent any changes (via methods like \f(CW\*(C`add_section\*(C'\fR or \f(CW\*(C`delete_section\*(C'\fR). It can be set with the \f(CW\*(C`finalize\*(C'\fR method. .PP .Vb 1 \& $sequence\->add_section($section); .Ve .PP This method adds the given section to the end of the sequence. If the sequence already contains a section with the same name as the new section, an exception will be raised. .PP .Vb 1 \& my $deleted_section = $sequence\->delete_section( $name ); .Ve .PP This method removes a section from the sequence and returns the removed section. If no section existed, the method returns false. .PP .Vb 1 \& my $section = $sequence\->section_named( $name ); .Ve .PP This method returns the section with the given name, if one exists in the sequence. If no such section exists, the method returns false. .PP .Vb 1 \& my @names = $sequence\->section_names; .Ve .PP This method returns a list of the names of the sections, in order. .PP .Vb 1 \& my @sections = $sequence\->sections; .Ve .PP This method returns the section objects, in order. .SH "POD ERRORS" .IX Header "POD ERRORS" Hey! \fBThe above document had some coding errors, which are explained below:\fR .IP "Around line 63:" 4 .IX Item "Around line 63:" Unknown directive: =attr .IP "Around line 80:" 4 .IX Item "Around line 80:" Unknown directive: =method .IP "Around line 109:" 4 .IX Item "Around line 109:" Unknown directive: =method .IP "Around line 133:" 4 .IX Item "Around line 133:" Unknown directive: =method .IP "Around line 150:" 4 .IX Item "Around line 150:" Unknown directive: =method .IP "Around line 163:" 4 .IX Item "Around line 163:" Unknown directive: =method