Config::INI::Reader::Ordered(3pm)

Config::INI::Reader::Ordered3pm

.ini-file parser that returns sections in order

Usage

If family.ini contains:

  admin = rjbs
  [rjbs]
  awesome = yes
  height = 5' 10"
  [mj]
  awesome = totally
  height = 23"

Then when your program contains:

  my $array = Config::INI::Reader->read_file('family.ini');

$array will contain:

  [
    [ '_'  => { admin => 'rjbs' } ],
    [
      rjbs => {
        awesome => 'yes',
        height  => q{5' 10"},
      }
    ],
    [ 
      mj   => {
        awesome => 'totally',
        height  => '23"',
      }
    ],
  ]

Version

version 0.022

Overview

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

Perl version

This library should run on perls released even a long time ago. It should work on any version of perl released in the last five years.

Although it may work on older versions of perl, no guarantee is made that the minimum required version will not be increased. The version may be increased for any reason, and there is no promise that patches will be accepted to lower the minimum required perl.

Contributor

Ricardo Signes <[email protected]>

Releases

6 releases since Debian 8 (Jessie); the text changed 3 times.

  1. 8
  2. 9–10
  3. 11
  4. 12–13

Author

Hans Dieter Pearcey <[email protected]>

From libconfig-ini-reader-ordered-perl 0.022-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.