The following module was proposed for inclusion in the Module List:
modid: Config::INI::Simple
DSLIP: SdpOp
description: simple and perlish module to handle .ini's
userid: TORG (Torsten Geyer)
chapterid: 7 (Database_Interfaces)
communities:
similar:
Config::INI::Reader Config::INI::Writer
rationale:
contrary to Config::INI::Reader/Writer, it has only one dependency
(File::Slurp). the 3 dependencies of the former (which themselves
have about 10 other deps) are not really justified imo for such an
easy module/task.
additionally it has a more perlish interface and requires one
function call less to get started, and for each accessed key/value
pair one level less of indirection.
$ini = new Config::INI::Reader; $ini->read_file ("config.ini");
print $ini->{data}->{_}->{key}; vs: $ini =
Config::INI::Simple->new("config.ini"); print $ini->{_}->{key};
also it has a write() command built in, while the existing module
forces one to create a different Writer object and copy the values.
enteredby: TORG (Torsten Geyer)
enteredon: Fri Oct 28 19:39:23 2011 GMT
The resulting entry would be:
Config::INI::
::Simple SdpOp simple and perlish module to handle .ini's TORG
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=a7700000_152e9bce064a3e8b&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=a7700000_152e9bce064a3e8b&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=Config%3A%3AINI%3A%3ASimple