Config::INI::Reader::Ordered -- .ini-file parser that returns sections in order
version 0.011
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:
$array
[ [ '_' => { admin => 'rjbs' } ], [ rjbs => { awesome => 'yes', height => q{5' 10"}, } ], [ mj => { awesome => 'totally', height => '23"', } ], ]
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".
Overridden to preserve and present section order.
To install Config::INI::Reader::Ordered, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::INI::Reader::Ordered
CPAN shell
perl -MCPAN -e shell install Config::INI::Reader::Ordered
For more information on module installation, please visit the detailed CPAN module installation guide.