1Config::INI::Reader::OrUdseerredC(o3n)tributed Perl DocuCmoennftiagt:i:oInNI::Reader::Ordered(3)
2
3
4

NAME

6       Config::INI::Reader::Ordered - .ini-file parser that returns sections
7       in order
8

VERSION

10       version 0.020
11

SYNOPSIS

13       If family.ini contains:
14
15         admin = rjbs
16
17         [rjbs]
18         awesome = yes
19         height = 5' 10"
20
21         [mj]
22         awesome = totally
23         height = 23"
24
25       Then when your program contains:
26
27         my $array = Config::INI::Reader->read_file('family.ini');
28
29       $array will contain:
30
31         [
32           [ '_'  => { admin => 'rjbs' } ],
33           [
34             rjbs => {
35               awesome => 'yes',
36               height  => q{5' 10"},
37             }
38           ],
39           [
40             mj   => {
41               awesome => 'totally',
42               height  => '23"',
43             }
44           ],
45         ]
46

DESCRIPTION

48       Config::INI::Reader::Ordered is a subclass of Config::INI::Reader which
49       preserves section order.  See Config::INI::Reader for all
50       documentation; the only difference is as presented in the "SYNOPSIS".
51

AUTHOR

53       Hans Dieter Pearcey <hdp@cpan.org>
54

CONTRIBUTOR

56       Ricardo Signes <rjbs@cpan.org>
57
59       This software is copyright (c) 2008 by Hans Dieter Pearcey.
60
61       This is free software; you can redistribute it and/or modify it under
62       the same terms as the Perl 5 programming language system itself.
63
64
65
66perl v5.30.1                      2020-01-29   Config::INI::Reader::Ordered(3)
Impressum