Reviews by tlinden

cpanratings
 

RSS

Config-General (2.37)

RwBerg wrote:

> But there are some missing items in the
> documentation, such as "save_file".

That's wrong. There is a section about save_file() in the docs. Read at search.cpan.org/~tlinden/Config-Gener...

> Also, when saving back to a config file
> the order and formatting is rearranged.
> I know the formatting can be altered, but
> no way or documentation has been found on
> how to do so.

No. There's an option "-Tie" which can be supplied to new(). It takes a Tie class name as argument. The docs are explaining it:

"You could, for example supply a tied hash, say Tie::DxHash, which preserves ordering of the keys in the config."

So, just read the docs. Try "perldoc Config::General".

tlinden - 2007-11-24T17:36:10 (permalink)

3 out of 3 found this review helpful. Was this review helpful to you?  Yes No