libconfig-auto-perl | Magical config file parser | Mehr ... |
libconfig-auto-perl allows developers to parse config files without needing to specify the format of the file (though they can do it). . It even looks for the config file in standard places (working dir, home dir, /etc) and tries some common config file names if the path isn't specified in the call. . It then determines the format of the config file, parses it and then returns a data structure containing the configuration data. The format of this structure depends on the format of the file. . At the moment, libconfig-auto-perl knows about colon, space and equals separated, XML, Perl, Windows INI, BIND9 and irssi style config files, though files in BIND9 or irssi format cannot be parsed. |