in reply to Question concerning Perl module Config::IniFiles

Yes, you can add new param/value pairs to an .ini file, as a quick read of the Config::IniFiles POD shows:
use warnings; use strict; use Config::IniFiles; my $cfg = Config::IniFiles->new(-file => 'my.ini'); $cfg->newval('SECTION_KEY', 'PARAMETER_new', '<VALUE_NEW>'); $cfg->RewriteConfig();

I don't see anything about specifying the order of parameters. Why do you think order is important?

Replies are listed 'Best First'.
Re^2: Question concerning Perl module Config::IniFiles
by Amphiaraus (Beadle) on Dec 08, 2014 at 17:19 UTC
    The nature of my *.ini file is such that ordering matters

      The nature of my *.ini file is such that ordering matters

      And then what happened?

      When you wrote a small program to see what Config::IniFiles does, did it "ordering matters" well enough for you? What did it do? Was it wrong or wright? Did you use sects or mysects?...