Maybe just adding a configurable parameter like 'noExtraNewlines' that would put newlines only in-between sections when adding entries ? That is, the current scheme of the user's file use of newlines would be preserved. Only new entries would be adopting the configurable option. Concern is, many users coudl eventually modify the same INI file, each one adding newlines when he/she sees it fit.
How about then an INI file formatter that would straigthen this out according to a defined (and configurable) scheme ? ;-)
In reply to Re^2: Config::Std blank entry in hash, and blank line
by carcassonne
in thread Config::Std blank entry in hash, and blank line
by carcassonne
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |