10 Jan 2021 00:52:16 UTC
- Distribution: Config-MVP
- Module version: 2.200012
- Source (raw)
- Browse (raw)
- How to Contribute
- Repository (git clone)
- Issues (7)
- Testers (1939 / 0 / 0)
- KwaliteeBus factor: 1
- 85.90% Coverage
- License: perl_5
- Activity24 month
- Download (33.43KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:1 non-PAUSE userRJBS Ricardo SIGNES 😄
- Reverse dependencies
- CPAN Testers List
- Dependency graph
- COPYRIGHT AND LICENSE
Config::MVP::Sequence - an ordered set of named configuration sections
A Config::MVP::Sequence is an ordered set of configuration sections, each of which has a name unique within the sequence.
For the most part, you can just consult Config::MVP to understand what this class is and how it's used.
This attribute is true if the sequence has been marked finalized, which will prevent any changes (via methods like
delete_section). It can be set with the
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.
my $deleted_section = $sequence->delete_section( $name );
This method removes a section from the sequence and returns the removed section. If no section existed, the method returns false.
my $section = $sequence->section_named( $name );
This method returns the section with the given name, if one exists in the sequence. If no such section exists, the method returns false.
my @names = $sequence->section_names;
This method returns a list of the names of the sections, in order.
my @sections = $sequence->sections;
This method returns the section objects, in order.
Ricardo Signes <firstname.lastname@example.org>
This software is copyright (c) 2021 by Ricardo Signes.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.