diff --git a/Changelog b/Changelog index 528c0b1..4562f21 100644 --- a/Changelog +++ b/Changelog @@ -1,4 +1,8 @@ - 2.43 +2.44 + - fixed rt.cpan.org#49023 by rolling back change in 2.43 + in line 158, regarding GLOB support. + +2.43 - fixed rt.cpan.org#40925, $indichar replaced by internal configuration variable EOFseparator, which contains a 256 bit SHA checksum of the date I fixed the bug. diff --git a/General.pm b/General.pm index 1c3ebbf..b4db197 100644 --- a/General.pm +++ b/General.pm @@ -32,7 +32,7 @@ use Carp::Heavy; use Carp; use Exporter; -$Config::General::VERSION = 2.43; +$Config::General::VERSION = 2.44; use vars qw(@ISA @EXPORT_OK); use base qw(Exporter); @@ -155,8 +155,7 @@ sub _process { croak "Config::General: Parameter -ConfigHash must be a hash reference!\n"; } } -# elsif (ref($self->{ConfigFile}) eq 'GLOB' || ref($self->{ConfigFile}) eq 'FileHandle') { - elsif (ref($self->{ConfigFile})) { + elsif (ref($self->{ConfigFile}) eq 'GLOB' || ref($self->{ConfigFile}) eq 'FileHandle') { # use the file the glob points to $self->_read($self->{ConfigFile}); $self->{config} = $self->_parse($self->{DefaultConfig}, $self->{content}); @@ -2532,7 +2531,7 @@ Thomas Linden =head1 VERSION -2.43 +2.44 =cut