http://www.perlmonks.org?node_id=178710


in reply to Re4: Some suggestions on coding style - a chance to critique
in thread Some suggestions on coding style - a chance to critique

Try printing out the keys of %hash. You just assigned the value "happy" to the key "LOG_DIRECTORY". To use the constant LOG_DIRECTORY as the key you need to explicitly use it as a function.