Project.pm: allow unset config values to remain undef
commit585101959d74c3d207c871471ff089998c3e9b77
authorKyle J. McKay <mackyle@gmail.com>
Mon, 1 Jan 2018 08:37:27 +0000 (1 00:37 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 1 Jan 2018 08:37:27 +0000 (1 00:37 -0800)
tree6bd1f4f141dbe68807f389c20694b7587f305388
parentaf82ea23c009d4d920fba41aad34165c9550edf3
Project.pm: allow unset config values to remain undef

When loading values from the local project's config file, any values
that do not have a value still end up getting loaded and assigned
to the object with a value of "" (or possibly a different default
value), but they always create the key in the project object's hash.

Change this so that if the default value is specified explicitly
as "undef" then when the config value does not exist no key will
be created in the project object's hash for it at all.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
Girocco/Project.pm