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:
16
Changelog
16
Changelog
@@ -1,8 +1,24 @@
|
||||
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 :-)
|
||||
|
||||
|
||||
2.10 - added -StrictVars documentation section to the POD,
|
||||
which was missing.
|
||||
|
||||
- fixed a formatting error in the POD documentation.
|
||||
|
||||
|
||||
2.09 - added bugfix in '#' comment parsing. If current state
|
||||
was within a block, then /^ #/ was not ignored as
|
||||
comment but instead added as variable. Reported by
|
||||
|
||||
Reference in New Issue
Block a user