- fixed rt.cpan.org#49023 by rolling back change in 2.43
	   in line 158, regarding GLOB support.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@70 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
Thomas von Dein
2009-10-10 16:47:02 +00:00
parent db567b0713
commit e60803efda
2 changed files with 8 additions and 5 deletions

View File

@@ -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.

View File

@@ -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 <tlinden |AT| cpan.org>
=head1 VERSION
2.43
2.44
=cut