in reply to Not a GLOB refernce

Does anybody know what is the problem?
When in doubt, B::Deparse it out
shell> perl -MO=Deparse - open(GENERAL_LOG,">$generalFile"); close{GENERAL_LOG}; open GENERAL_LOG, ">$generalFile"; close *{{'GENERAL_LOG'}}; - syntax OK
So there you're passing an anonymous hash to close which it the tries to dereference as a glob and subsequently fails. As others have suggested you need to use parentheses instead of curly brackets.
HTH

_________
broquaint