mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
2.11 - heavy change in the variable interpolation code.
Peter Sergeant <pete@clueball.com> reported this mis-behavior. The problem was that the whole hash was feeded to ::Interpolated.pm, but as we all know, perl hashes doesn't preserve the order. So, in our case the module sometimes was unable to resolve variablenames, because they were stored in a different location as it occured in the config. The change is, that Config::General now calls ::Interpolate.pm (new sub: _interpolate()) itself directly on a per-key/value pair basis. The internal varstack is now stored on $this globally. So, now a variable will be known when it occurs. period :- git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@37 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
7
README
7
README
@@ -80,10 +80,11 @@ UPDATE
|
||||
COPYRIGHT
|
||||
Config::General
|
||||
Config::General::Extended
|
||||
Copyright (c) 2000-2002 Thomas Linden <tom@daemon.de>
|
||||
Copyright (c) 2000-2002 by Thomas Linden <tom@daemon.de>
|
||||
|
||||
Config::General::Interpolated
|
||||
Copyright (c) 2001 Wei-Hon Chen <plasmaball@pchome.com.tw>
|
||||
Copyright (c) 2001 by Wei-Hon Chen <plasmaball@pchome.com.tw>
|
||||
Copyright (c) 2002 by Thomas Linden <tom@daemon.de>.
|
||||
|
||||
This library is free software; you can redistribute it
|
||||
and/or modify it under the same terms as Perl itself.
|
||||
@@ -103,4 +104,4 @@ AUTHOR
|
||||
|
||||
|
||||
VERSION
|
||||
2.10
|
||||
2.11
|
||||
Reference in New Issue
Block a user