mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
2.12 - fixed cpan bugid #1768, stuff inside a hash given
by the -DefaultConfig parameter was ignored by the new interpolation code, this has been fixed. - fixed another bug in the new interpolation code, which made variable global, the variable scope were ignored. Now a special constructed hash exists, which makes sure, that variables only valid within its correct scope. git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@38 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
2
t/run.t
2
t/run.t
@@ -120,7 +120,7 @@ print STDERR " .. ok # Using AUTOLOAD methods\n";
|
||||
|
||||
|
||||
# testing variable interpolation
|
||||
my $conf16 = new Config::General(-ConfigFile => "t/cfg.16", -InterPolateVars => 1);
|
||||
my $conf16 = new Config::General(-ConfigFile => "t/cfg.16", -InterPolateVars => 1, -StrictVars => 0);
|
||||
my %h16 = $conf16->getall();
|
||||
if($h16{etc}->{log} eq "/usr/local/log/logfile") {
|
||||
print "ok\n";
|
||||
|
||||
Reference in New Issue
Block a user