A Perl module for reading ".INI" style configuration files. Provides Object-Oriented and tied hash usage styles.
Be the first to post a text review of Config::IniFiles. Rate and review a project by clicking thumbs up or thumbs down in the right column.
Version 2.52: ( Sun Jun 28 16:16:09 IDT 2009 ) ------------------------------------------------ * Added more keys to Build.PL (author, etc.) * Added resources and keywords to META.yml. * Converted t/00load.t to Test-More. * No longer chdir()-ing into "t" in t/00load.t * Got rid of the "new Config::IniFiles" syntax in the tests. - replaced with Config::IniFiles->new(). - see "Perl Best Practices", "Programming Perl", 3rd Edition Version 2.51: ( Mon Jun 8 12:38:50 IDT 2009 ) ------------------------------------------------ * Fixed "#46721: $config->exists() does not pay attention to -nocase => 1" - https://rt.cpan.org/Ticket/Display.html?id=46721 Version 2.50: ( Sun May 31 14:54:14 IDT 2009 ) ------------------------------------------------ * Fixed the POD for SetParameterEOT: - https://rt.cpan.org/Ticket/Display.html?id=28375 * Added t/pod.t and t/pod-coverage.t and fixed the problems they pointed: - Removed some trailing pod. - http://rt.cpan.org/Ticket/Display.html?id=46549 - Documented the ->OutputConfig() method. Version 2.49: ( Sat May 2 17:16:28 IDT 2009 ) ------------------------------------------------ * Fixed bug https://rt.cpan.org/Public/Bug/Display.html?id=45209 : - Makefile.PL lacked the empty "PL_FILES" directive. * Fixed bug https://rt.cpan.org/Ticket/Display.html?id=45588 : - Failure to read ini file contents from a scalar (via "IO::Scalar"). - added t/23scalar-ref.t Version 2.48: ( Tue Apr 7 15:24:55 IDT 2009 ) ------------------------------------------------ * Fixed bug https://rt.cpan.org/Ticket/Display.html?id=30402 : - Trailing comments at the end of the file are not written. - added a test (t/22trailing-comment-lines.t ) and a test file. * Reverted the fix to bug #34067 ( "Multiline values returned as array references in tied hash interface"), as it could potentially break a lot of old code, and was not such a good idea, and was less preferable from interface-sanity reasons. * Documented the old API in regards to bug #34067 - see above. Version 2.47: ( Wed Jan 21 11:32:24 IST 2009 ) ------------------------------------------------ * Fixed bug https://rt.cpan.org/Ticket/Display.html?id=34067 : - Multiline values returned as array references in tied hash interface - This was as opposed to the documentation. - added t/21multiline-values-in-tied.t and fixed some older tests. * Moved the eval'ed debugging code (_assert_invariants) to its own module, without the eval so the perl-5.6.2 will be happy. Now explicitly use'ing it from t/lib where appropriate. See for example: - http://www.nntp.perl.org/group/perl.cpan.testers/2009/01/msg3101788.html Version 2.46: ( Sat Jan 17 16:31:52 IST 2009 ) ------------------------------------------------ * Added regression tests for bug #1720915 - https://sourceforge.net/tracker/index.php?func=detail&aid=1720915&group_id=6926&atid=106926 - the bug seems to be fixed in trunk. * Added a regression test for RT #36584 - https://rt.cpan.org/Ticket/Display.html?id=36584 - the bug seems to be fixed in trunk. * Added a regression test for RT #36309 - https://rt.cpan.org/Ticket/Display.html?id=36309 - Testing for allowedcommentchars. - the bug seems to be fixed in trunk. * Converted t/03comments.t to Test::More and did other cleanups in preparation of solving a few bugs. * Now GetSectionComment does the documented behaviour in scalar context and returns the string joined by newlines: - https://rt.cpan.org/Ticket/Display.html?id=8612 * Now GetParameterComment returns the right thing in scalar context (joined by newlines). It was documented and tested. - https://rt.cpan.org/Ticket/Display.html?id=8612 Version 2.45: ( Sat Dec 27 17:21:45 IST 2008 ) ------------------------------------------------ * Fixed bug #1230339: - https://sourceforge.net/tracker/index.php?func=detail&aid=1230339&group_id=6926&atid=106926 - Can't store and retrive "\nEOT\n" - Fixed by checking for the existence of the here-doc terminator in the string, and if so appending more characters. * Fixed bug #1565180 - https://sourceforge.net/tracker/index.php?func=detail&aid=1565180&group_id=6926&atid=106926 - -nocase breaks -default. - If a default-values section is specified, then -nocase did not look it up if it's not lowercase. * Fixed bug #1831654 - https://sourceforge.net/tracker/index.php?func=detail&aid=1831654&group_id=6926&atid=106926 - multiline-values are tainted. - Added a test as t/17untainted-multiline-values.t Version 2.44: ( Thu Dec 25 11:44:07 IST 2008 ) ------------------------------------------------ * Eliminated an assignment of $VERSION into itself to "get rid of warnings". Only caused warnings at Build.PL, and is unnecessary now that we "use vars". Version 2.43: ( Thu Dec 4 18:56:02 IST 2008 ) ------------------------------------------------ * Placed IniFiles.pm under lib/Config/IniFiles.pm. * Added a Build.PL file for the distribution. * Moved the ChangeLog to its own file - Changes. * Made the README contain the useful information and nothing else - previously it was a copy of the module's entire POD. * Added a regression test for: https://sourceforge.net/tracker/index.php?func=detail&aid=778593&group_id=6926&atid=106926 When copying tied-hashes representing sections with multiline values as keys, one used to get a reference instead of a copy. This was fixed in SVN but not in CPAN. * Added a test for opening an empty file, inspired by: https://sourceforge.net/tracker/index.php?func=detail&aid=927111&group_id=6926&atid=106926 * Added a fix for this bug: https://sourceforge.net/tracker/index.php?func=detail&aid=767913&group_id=6926&atid=106926 With a test that I wrote myself: in list context, ->val() returned the list containing (undef()) if there was no such key. Now returning the empty list which evaluates to false. * Added a test for bug "[ 2030786 ] Brackets within values are treated as section headers" It seems to be fixed on SVN.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?