Perl 6 Config::INI Improvements
I've renamed the Config::INI repository to something more sensible (since no one had watched/forked it) and now you can write out Config::INI files.
my Config::INI $config .= new;
my %properties = (
a => 'b',
c => 'd',
);
my %next = (
one => 'two',
three => 'four',
);
$config.add_properties(:%properties);
$config.add_properties(properties => %next, name => 'next');
$config.write($ini_filename);
It needs more work (primarily solid error checking), but so far I'm fairly pleased with it.
Leave a comment