Reviews by tlinden


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

> 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".