Subject: | Config items with no values should return undef |
Config items of the form:
IAMUNDEF
as opposed to
IAMDEF = ''
...are indistinguishable insofar as the value returned by
Config::General. It would be better to return undef in the former case
rather than ''.
This lets one act differently based on whether the config item was truly
undefined or if an empty string was assigned. For example, my
configuration rule is that if you mention an item with no arguments, you
get a boolean 'true' value. Adding 'NO' to the front gives you a
boolean 'false' value. (Admittedly one has trouble with a config item
like "NOSE", but that's a different story.)
I am not allowing empty strings, so it works ok for me as it is. But it
seems a worthwhile improvement.