I've used Config::IniFiles on several occasions, and never had a
problem. Not that it's a very complicated task.
Jesse Norell wrote:
Hello,
I'm wanting to parse dbmail's config file in perl and wondered
if anyone had any positive/negative experience using any of the
many perl Ini config parsers for that? Doing a quick search, the
ones that look candidate are below. I assume that, provided they
could all parse the config file, the most important question is
which would be most commonly found on servers (as the script I'm
working on will probably be in dbmail contrib), and then ease
of use.
Config::Backend::INI
a .ini file backend for conf
OpenInteract::Config::Ini
Read/write INI-style (++) configuration files
Config::Abstract::Ini
Perl extension for handling ini style files
AnyData::Format::Ini
tiedhash & DBI/SQL access to ini files
OpenPlugin::Config::Ini
Read Ini style configuration files
Config::IniHash
Perl extension for reading and writing INI files
App::Serializer::Ini
Interface for serialization and deserialization
Tie::Cfg
Ties simple configuration (.ini) files to hashes. Handles arrays and recurrent
sections.
Config::IniFiles
A module for reading .ini-style configuration files.
Register::Generic
Implementation of the windows ini like structure
Prima::IniFile
support of Windows-like initialization files
Config::Magic
Perl extension for reading all kinds of configuration files
Config::Simple
simple configuration file class
Config::Yacp
Yet Another Configuration file Parser
GSM::SMS::Config
Implements a simple .ini style config.
StanzaFile
read, parse, and write files containing "stanzas".
Config::ReadAndCheck
Perl module for parsing generic config files conforms to predefined
line-by-line-based format.
DBD::RAM
a DBI driver for files and data structures
... and there are others.
Thanks for comments/input,
Jesse
--
Jesse Norell
[EMAIL PROTECTED] is not my email address;
change "administrator" to my first name.
--
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail