mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
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. git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@52 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
@@ -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
|
2.25
|
||||||
- fixed bug with not working -IncludeRelative setting when
|
- fixed bug with not working -IncludeRelative setting when
|
||||||
including a config file. It were only included from the
|
including a config file. It were only included from the
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ use strict;
|
|||||||
use Carp;
|
use Carp;
|
||||||
use Exporter;
|
use Exporter;
|
||||||
|
|
||||||
$Config::General::VERSION = "2.25";
|
$Config::General::VERSION = "2.26";
|
||||||
|
|
||||||
use vars qw(@ISA @EXPORT);
|
use vars qw(@ISA @EXPORT);
|
||||||
@ISA = qw(Exporter);
|
@ISA = qw(Exporter);
|
||||||
@@ -452,7 +452,7 @@ sub _read {
|
|||||||
|
|
||||||
|
|
||||||
# transform explicit-empty blocks to conforming blocks
|
# transform explicit-empty blocks to conforming blocks
|
||||||
if (/^<([^\/]+?.*?)\/>$/) {
|
if (/\s*<([^\/]+?.*?)\/>$/) {
|
||||||
my $block = $1;
|
my $block = $1;
|
||||||
my $orig = $_;
|
my $orig = $_;
|
||||||
$orig =~ s/\/>$/>/;
|
$orig =~ s/\/>$/>/;
|
||||||
@@ -1986,7 +1986,7 @@ Thomas Linden <tom@daemon.de>
|
|||||||
|
|
||||||
=head1 VERSION
|
=head1 VERSION
|
||||||
|
|
||||||
2.25
|
2.26
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ use ExtUtils::MakeMaker;
|
|||||||
WriteMakefile(
|
WriteMakefile(
|
||||||
'NAME' => 'Config::General',
|
'NAME' => 'Config::General',
|
||||||
'VERSION_FROM' => 'General.pm', # finds $VERSION
|
'VERSION_FROM' => 'General.pm', # finds $VERSION
|
||||||
'clean' => { FILES => 't/cfg.out t/test.cfg *~ t/~' },
|
'clean' => { FILES => 't/cfg.out t/test.cfg *~ */*~' },
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user