1Config::INI::Reader::OrUdseerredC(o3n)tributed Perl DocuCmoennftiagt:i:oInNI::Reader::Ordered(3)
2
3
4
6 Config::INI::Reader::Ordered - .ini-file parser that returns sections
7 in order
8
10 version 0.022
11
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
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
53 This library should run on perls released even a long time ago. It
54 should work on any version of perl released in the last five years.
55
56 Although it may work on older versions of perl, no guarantee is made
57 that the minimum required version will not be increased. The version
58 may be increased for any reason, and there is no promise that patches
59 will be accepted to lower the minimum required perl.
60
62 Hans Dieter Pearcey <hdp@cpan.org>
63
65 Ricardo Signes <rjbs@semiotic.systems>
66
68 This software is copyright (c) 2008 by Hans Dieter Pearcey.
69
70 This is free software; you can redistribute it and/or modify it under
71 the same terms as the Perl 5 programming language system itself.
72
73
74
75perl v5.36.0 2023-01-20 Config::INI::Reader::Ordered(3)