- fixed invalid regexp in _open() which circumvented
	   explicit empty block to work when the block statement
	   included whitespaces.
	
	 - more finetuning in Makefile.PL for cleaning emacs'
	   ~ files.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@52 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
Thomas von Dein
2009-10-10 16:30:19 +00:00
parent 8f517dd929
commit d270570ecc
4 changed files with 14 additions and 5 deletions

View File

@@ -1,3 +1,12 @@
2.26
- fixed invalid regexp in _open() which circumvented
explicit empty block to work when the block statement
included whitespaces.
- more finetuning in Makefile.PL for cleaning emacs'
~ files.
2.25
- fixed bug with not working -IncludeRelative setting when
including a config file. It were only included from the

View File

@@ -18,7 +18,7 @@ use strict;
use Carp;
use Exporter;
$Config::General::VERSION = "2.25";
$Config::General::VERSION = "2.26";
use vars qw(@ISA @EXPORT);
@ISA = qw(Exporter);
@@ -452,7 +452,7 @@ sub _read {
# transform explicit-empty blocks to conforming blocks
if (/^<([^\/]+?.*?)\/>$/) {
if (/\s*<([^\/]+?.*?)\/>$/) {
my $block = $1;
my $orig = $_;
$orig =~ s/\/>$/>/;
@@ -1986,7 +1986,7 @@ Thomas Linden <tom@daemon.de>
=head1 VERSION
2.25
2.26
=cut

View File

@@ -4,5 +4,5 @@ use ExtUtils::MakeMaker;
WriteMakefile(
'NAME' => 'Config::General',
'VERSION_FROM' => 'General.pm', # finds $VERSION
'clean' => { FILES => 't/cfg.out t/test.cfg *~ t/~' },
'clean' => { FILES => 't/cfg.out t/test.cfg *~ */*~' },
);

2
README
View File

@@ -104,4 +104,4 @@ AUTHOR
VERSION
2.25
2.26