- fixed rt.cpan.org#24232 - import ENV vars only if defined

	- fixed rt.cpan.org#20742 - dont' overwrite a var if re-defined
	  in current scope, interpolation failed for re-defined vars and used
	  the value of the var defined in outer scope, not the current one.

	- fixed rt.cpan.org#17852 - a 0 as blockname were ignored. applied
	  patch by SCOP to t/run.t to test for 0 in blocks.

	- applied most hints Perl::Critic had about Config::General:
	  o the functions ParseConfig SaveConfig SaveConfigString must
	    now imported implicitly. This might break existing code, but
	    is easily to fix.
	  o using IO::File instead of open().
	  o General.pm qualifies for "stern" level after all.

	- added much more tests to t/run.t for 'make test'.

	- using Test::More now.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@58 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
Thomas von Dein
2009-10-10 16:38:28 +00:00
parent 80bcb7ddae
commit 72fdf51f16
15 changed files with 484 additions and 379 deletions

View File

@@ -1,19 +1,19 @@
Changelog
General/Extended.pm
General/Interpolated.pm
General.pm
MANIFEST
Makefile.PL
README
t/sub1/sub2/sub3/cfg.sub3.orig
t/sub1/sub2/sub3/cfg.sub3
t/sub1/sub2/cfg.sub2.orig
t/sub1/sub2/cfg.sub2
t/sub1/sub2/cfg.sub2b.orig
t/sub1/sub2/cfg.sub2b
t/sub1/cfg.sub1
t/sub1/cfg.sub1b
t/sub1/cfg.sub1c
t/sub1/cfg.sub1d
t/sub1/cfg.sub1e
t/cfg.16
t/cfg.17
t/cfg.19
t/cfg.20.a
t/cfg.20.b
t/cfg.20.c
t/sub1/sub2/sub3/cfg.sub3
t/sub1/sub2/cfg.sub2
t/sub1/cfg.sub1
t/cfg.2
t/cfg.3
t/cfg.4
@@ -21,6 +21,16 @@ t/cfg.5
t/cfg.6
t/cfg.7
t/cfg.8
t/run.t
t/test.rc
t/cfg.20.a
t/cfg.20.b
t/cfg.20.c
t/run.t
t/test.rc.out
t/cfg.34
MANIFEST
example.cfg
Makefile.PL
General.pm
README
Changelog