Subject: | Config general does not maintain Tie hash order on _store (patch included) |
Config::General allows you to specify the backing hash when loading a
config file, but it loses the order when resaving the config. In cases
where you would like to load the file, manipulate, and then resave the
file to disk, the order of the config items gets lost. This is
important when you are generating config files with interpolated values
and the order of definition is important.
The issue is caused by the _store method unrolling and rerolling the
config hash, which causes the original Tie to be lost.
The fix is to pass the config hash by reference instead.
Subject: | config.general.path.2009-11-24 |
Message body not shown because it is not plain text.