mirror of
https://codeberg.org/scip/Config-General.git
synced 2025-12-16 20:21:01 +01:00
2.02 - added patch by Jens Heunemann, which allows to use
whitespaces in option names.
- changed the save() calls in the test script (t/run.t)
to save_file()
- removed new() from ::Interpolated and ::Extended.
This may break existing code (they will need to
move to the flags of Config::General::new() ), but
this decision must be made. The problem was that
both the old way of directly using the subclasses
and the enw way did not work together. So, now
subclasses are only method holders and used by
Config::General on request. Direct use of subclasses
is prohibited. (you receive a warning if you do).
git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@28 be1acefe-a474-0410-9a34-9b3221f2030f
This commit is contained in:
32
README
32
README
@@ -47,6 +47,36 @@ INSTALLATION
|
||||
t/cfg.*
|
||||
|
||||
|
||||
UPDATE
|
||||
|
||||
If you are updating from version 1.xx, you might be interested,
|
||||
that some things in the API has changed, which might force you
|
||||
to change your application code. These changes were necessary
|
||||
to clean up the module interface. Now it has a consistent
|
||||
"look and feel" and behaves more naturally. Therefore historic
|
||||
remains were removed.
|
||||
|
||||
Here is a short list:
|
||||
|
||||
o it is no more possible to use Config::General::Extended
|
||||
and Config::General::Interpolated directly. Instead use
|
||||
Config::General and turn on -InterPolateVars and
|
||||
-ExtendedAccess respectively.
|
||||
|
||||
o the method NoMultiOptions() is deprecated. Set the parameter
|
||||
-AllowMultiOptions to false when calling new() to create
|
||||
a new Config::General object.
|
||||
|
||||
o the method save() is deprecated. Use save_file() or
|
||||
save_string() instead.
|
||||
|
||||
o the parameter -file is deprecated. Use -ConfigFile instead.
|
||||
|
||||
o the parameter -hash is deprecated. Use -ConfigHash instead.
|
||||
|
||||
For a more detailed explanation of changes refer to the Changelog.
|
||||
|
||||
|
||||
COPYRIGHT
|
||||
Config::General
|
||||
Config::General::Extended
|
||||
@@ -68,4 +98,4 @@ AUTHOR
|
||||
|
||||
|
||||
VERSION
|
||||
2.01
|
||||
2.02
|
||||
|
||||
Reference in New Issue
Block a user