Config:...Ordered(3)

πŸ’– NAME πŸ’–

This is Config:...Ordered(3), filed under User Contributed Perl Documentation β€” welcome, bestie. 🫢 The name line is Config::INI::Reader::Ordered β€” a .ini-file parser that returns sections in order. Periodt. πŸ’…

πŸŽ€ VERSION πŸŽ€

It's giving version 0.022. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

Okay so 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"',
      }
    ],
  ]

🌸 DESCRIPTION 🌸

So Config::INI::Reader::Ordered is literally a subclass of Config::INI::Reader that preserves section order. For all the documentation, go see Config::INI::Reader; the only difference is the one presented in the "SYNOPSIS". No cap. 🫢

πŸ’œ 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.

πŸ‘‘ AUTHOR πŸ‘‘

Hans Dieter Pearcey <hdp@cpan.org> β€” icon behavior. πŸ‘‘

🌈 CONTRIBUTOR 🌈

Ricardo Signes <rjbs@semiotic.systems> β€” contributing legend. 🌈

This software is copyright (c) 2008 by Hans Dieter Pearcey.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


Catch you later, bestie β€” this page comes from perl v5.42.0, dated 2023-01-02. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from